(window.webpackJsonp = window.webpackJsonp || []).push([
  [0],
  Array(461).concat([
    function (e, t, n) {
      'use strict';
      n.d(t, 'f', function () {
        return g;
      }),
        n.d(t, 'e', function () {
          return f;
        });
      var r = n(766),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(486);
      n.d(t, 'b', function () {
        return s.css;
      }),
        n.d(t, 'd', function () {
          return s.keyframes;
        }),
        n.d(t, 'a', function () {
          return s.Global;
        });
      var l = n(21);
      n(15);
      function c(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function d(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      function p() {
        return (p =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      const u = ['button', 'input', 'select', 'textarea'],
        m = ['img', 'video'],
        h = (e) => {
          const t = (function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = null != arguments[t] ? arguments[t] : {};
              t % 2
                ? c(Object(n), !0).forEach(function (t) {
                    d(e, t, n[t]);
                  })
                : Object.getOwnPropertyDescriptors
                ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
                : c(Object(n)).forEach(function (t) {
                    Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                  });
            }
            return e;
          })({}, e);
          return null != t.style && 'object' != typeof t.style && delete t.style, t;
        },
        b =
          (e, t) =>
          (...n) => {
            const r = a()(e, p({}, { target: 'e1oluflk0' }, t))(...n);
            r.displayName = 'Emotion';
            const o = ((c = e),
            (s = (e) => {
              const t = {};
              if ('string' != typeof c || '-1' === e.tabIndex || !e.onClick) return t;
              const n = 'a' === c && e.href,
                r = -1 !== u.indexOf(c),
                a = -1 !== m.indexOf(c);
              return (
                !1 === e.role || n || r || a || (t.role = e.role || 'button'),
                n || r || (t.onKeyDown = e.onKeyDown || Object(l.v)(e.onClick)),
                e.className && (t.className = e.className),
                (t.tabIndex = e.tabIndex || '0'),
                t
              );
            }),
            (e) =>
              i.a.forwardRef((t, n) => {
                const r = h(t);
                return i.a.createElement(e, p({}, r, s(r), { ref: n }));
              }))(r);
            var s, c;
            return (
              (o.displayName = 'string' == typeof e ? `Styled.${e}` : 'Styled()'),
              (o.className = r),
              o
            );
          };
      [].forEach((e) => (b[e] = b(e)));
      const g =
          (e) =>
          ({ theme: t }) =>
            t[e],
        f = (e) => (t) => t[e];
      t.c = b;
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'k', function () {
        return o;
      }),
        n.d(t, 'j', function () {
          return i;
        }),
        n.d(t, 'm', function () {
          return s;
        }),
        n.d(t, 'f', function () {
          return l;
        }),
        n.d(t, 'g', function () {
          return c;
        }),
        n.d(t, 'c', function () {
          return d;
        }),
        n.d(t, 'd', function () {
          return p;
        }),
        n.d(t, 'e', function () {
          return u;
        }),
        n.d(t, 'b', function () {
          return m;
        }),
        n.d(t, 'a', function () {
          return h;
        }),
        n.d(t, 'h', function () {
          return b;
        }),
        n.d(t, 'l', function () {
          return g;
        }),
        n.d(t, 'i', function () {
          return v;
        });
      var r = n(461);
      const a = (e, t) => (t ? e({ theme: t }) : e),
        o = ({ theme: e }) => {
          let t = e.verticalPaddingPx;
          return e.isLauncherEnabled && (t += e.launcherOffsetBottomPaddingPx), t;
        },
        i = (e) => a(o, e),
        s = (e = 0, t) =>
          a(
            (
              (e) =>
              ({ theme: t }) =>
                t.zIndexBase + e
            )(e),
            t
          ),
        l = {
          name: '1e53tp2',
          styles: 'position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);',
        },
        c = {
          name: '8wlotg',
          styles:
            "content:'';position:absolute;bottom:0;/* @noflip */ left:-5px;width:0;height:0;border-style:solid;/* @noflip */ border-width:0 0 13px 5px;border-color:transparent transparent white transparent;",
        },
        d = ({ theme: e }) =>
          Object(r.b)(
            'box-shadow:0 4px 15px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.1),inset 0 2px 0 0 ',
            e.cardBorderTopColor,
            ';'
          ),
        p = {
          name: '1mz77v4',
          styles: 'box-shadow:0 4px 15px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.1);',
        },
        u = ({ theme: e }) =>
          Object(r.b)(
            'box-shadow:inset 0 2px 0 0 ',
            e.cardBorderTopColor,
            ';border:1px solid ',
            e.lightGrey8,
            ';border-top:none;'
          ),
        m = (e, t, n, a, o = 'no-repeat') =>
          Object(r.b)(
            'background-image:url(',
            e,
            ');background-size:',
            n,
            ' ',
            a,
            ';background-repeat:',
            o,
            ';@media (--moz-device-pixel-ratio:1.3),(-o-min-device-pixel-ratio:2.6/2),(-webkit-min-device-pixel-ratio:1.3),(min-resolution:1.3dppx){&{background-image:url(',
            t,
            ');}}'
          ),
        h = Object(r.c)('div', { target: 'ecseou40' })({
          name: '79elbk',
          styles: 'position:relative;',
        }),
        b = {
          name: 'n6sm7g',
          styles: "&:before,&:after{content:' ';display:table;}&:after{clear:both;}",
        },
        g = {
          name: '1h2ruwl',
          styles: 'white-space:nowrap;overflow:hidden;text-overflow:ellipsis;',
        };
      var f = { name: 'e2v18t', styles: 'transform:scaleX(-1);' };
      const v = ({ theme: e }) => e.isRtlLocale && f;
    },
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return Measure;
      }),
        n.d(t, 'a', function () {
          return l;
        });
      var r = n(460),
        a = n.n(r),
        o = n(15),
        i = n(461);
      function s(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class Measure extends r.PureComponent {
        constructor(...e) {
          super(...e),
            s(this, 'interval', void 0),
            s(this, 'node', void 0),
            s(this, 'state', { width: -1, height: -1, top: -1 }),
            s(this, 'handleChange', () => {
              const { onChange: e, onHeightChange: t, disable: n } = this.props;
              if (!this.node) return;
              this.node.children.length > 1 &&
                Object(o.b)('The Measure component only accepts a single child');
              const r = this.node.children[0];
              if (!r || r instanceof Text) return;
              if (n) return;
              const { width: a, height: i, top: s } = r.getBoundingClientRect();
              (this.state.width === a && this.state.height === i && this.state.top === s) ||
                (this.setState({ width: a, height: i, top: s }),
                e && e({ width: a, height: i, top: s }),
                t && t(i));
            });
        }
        componentDidMount() {
          (this.interval = setInterval(this.handleChange, 100)), this.handleChange();
        }
        componentWillUnmount() {
          clearInterval(this.interval);
        }
        render() {
          const { children: e } = this.props;
          return a.a.createElement(l, { ref: (e) => (this.node = e) }, e);
        }
      }
      s(Measure, 'defaultProps', { disable: !1 });
      const l = Object(i.c)('div', { target: 'easp4az0' })();
    },
    function (e, t, n) {
      'use strict';
      var r = n(462),
        a = n(460),
        o = n.n(a),
        i = n(493),
        s = n(57),
        l = n(9);
      var c = n(21);
      function d(e) {
        const t = e,
          n = e.document;
        if (!('scrollBehavior' in n.documentElement.style)) {
          var r,
            a = t.HTMLElement || t.Element,
            o = {
              scroll: t.scroll || t.scrollTo,
              scrollBy: t.scrollBy,
              elementScroll: a.prototype.scroll || l,
              scrollIntoView: a.prototype.scrollIntoView,
            },
            i =
              t.performance && t.performance.now ? t.performance.now.bind(t.performance) : Date.now,
            s =
              ((r = t.navigator.userAgent),
              new RegExp(['MSIE ', 'Trident/', 'Edge/'].join('|')).test(r) ? 1 : 0);
          (t.scroll = t.scrollTo =
            function () {
              void 0 !== arguments[0] &&
                (!0 !== c(arguments[0])
                  ? b.call(
                      t,
                      n.body,
                      void 0 !== arguments[0].left
                        ? ~~arguments[0].left
                        : t.scrollX || t.pageXOffset,
                      void 0 !== arguments[0].top ? ~~arguments[0].top : t.scrollY || t.pageYOffset
                    )
                  : o.scroll.call(
                      t,
                      void 0 !== arguments[0].left
                        ? arguments[0].left
                        : 'object' != typeof arguments[0]
                        ? arguments[0]
                        : t.scrollX || t.pageXOffset,
                      void 0 !== arguments[0].top
                        ? arguments[0].top
                        : void 0 !== arguments[1]
                        ? arguments[1]
                        : t.scrollY || t.pageYOffset
                    ));
            }),
            (t.scrollBy = function () {
              void 0 !== arguments[0] &&
                (c(arguments[0])
                  ? o.scrollBy.call(
                      t,
                      void 0 !== arguments[0].left
                        ? arguments[0].left
                        : 'object' != typeof arguments[0]
                        ? arguments[0]
                        : 0,
                      void 0 !== arguments[0].top
                        ? arguments[0].top
                        : void 0 !== arguments[1]
                        ? arguments[1]
                        : 0
                    )
                  : b.call(
                      t,
                      n.body,
                      ~~arguments[0].left + (t.scrollX || t.pageXOffset),
                      ~~arguments[0].top + (t.scrollY || t.pageYOffset)
                    ));
            }),
            (a.prototype.scroll = a.prototype.scrollTo =
              function () {
                if (void 0 !== arguments[0])
                  if (!0 !== c(arguments[0])) {
                    var e = arguments[0].left,
                      t = arguments[0].top;
                    b.call(
                      this,
                      this,
                      void 0 === e ? this.scrollLeft : ~~e,
                      void 0 === t ? this.scrollTop : ~~t
                    );
                  } else {
                    if ('number' == typeof arguments[0] && void 0 === arguments[1])
                      throw new SyntaxError('Value could not be converted');
                    o.elementScroll.call(
                      this,
                      void 0 !== arguments[0].left
                        ? ~~arguments[0].left
                        : 'object' != typeof arguments[0]
                        ? ~~arguments[0]
                        : this.scrollLeft,
                      void 0 !== arguments[0].top
                        ? ~~arguments[0].top
                        : void 0 !== arguments[1]
                        ? ~~arguments[1]
                        : this.scrollTop
                    );
                  }
              }),
            (a.prototype.scrollBy = function () {
              void 0 !== arguments[0] &&
                (!0 !== c(arguments[0])
                  ? this.scroll({
                      left: ~~arguments[0].left + this.scrollLeft,
                      top: ~~arguments[0].top + this.scrollTop,
                      behavior: arguments[0].behavior,
                    })
                  : o.elementScroll.call(
                      this,
                      void 0 !== arguments[0].left
                        ? ~~arguments[0].left + this.scrollLeft
                        : ~~arguments[0] + this.scrollLeft,
                      void 0 !== arguments[0].top
                        ? ~~arguments[0].top + this.scrollTop
                        : ~~arguments[1] + this.scrollTop
                    ));
            }),
            (a.prototype.scrollIntoView = function () {
              if (!0 !== c(arguments[0])) {
                var e = m(this),
                  r = e.getBoundingClientRect(),
                  a = this.getBoundingClientRect();
                e !== n.body
                  ? (b.call(this, e, e.scrollLeft + a.left - r.left, e.scrollTop + a.top - r.top),
                    'fixed' !== t.getComputedStyle(e).position &&
                      t.scrollBy({ left: r.left, top: r.top, behavior: 'smooth' }))
                  : t.scrollBy({ left: a.left, top: a.top, behavior: 'smooth' });
              } else o.scrollIntoView.call(this, void 0 === arguments[0] || arguments[0]);
            });
        }
        function l(e, t) {
          (this.scrollLeft = e), (this.scrollTop = t);
        }
        function c(e) {
          if (
            null === e ||
            'object' != typeof e ||
            void 0 === e.behavior ||
            'auto' === e.behavior ||
            'instant' === e.behavior
          )
            return !0;
          if ('object' == typeof e && 'smooth' === e.behavior) return !1;
          throw new TypeError(
            'behavior member of ScrollOptions ' +
              e.behavior +
              ' is not a valid value for enumeration ScrollBehavior.'
          );
        }
        function d(e, t) {
          return 'Y' === t
            ? e.clientHeight + s < e.scrollHeight
            : 'X' === t
            ? e.clientWidth + s < e.scrollWidth
            : void 0;
        }
        function p(e, n) {
          var r = t.getComputedStyle(e, null)['overflow' + n];
          return 'auto' === r || 'scroll' === r;
        }
        function u(e) {
          var t = d(e, 'Y') && p(e, 'Y'),
            n = d(e, 'X') && p(e, 'X');
          return t || n;
        }
        function m(e) {
          for (; e !== n.body && !1 === u(e); ) e = e.parentNode || e.host;
          return e;
        }
        function h(e) {
          var n,
            r,
            a,
            o,
            s = (i() - e.startTime) / 468;
          (o = s = s > 1 ? 1 : s),
            (n = 0.5 * (1 - Math.cos(Math.PI * o))),
            (r = e.startX + (e.x - e.startX) * n),
            (a = e.startY + (e.y - e.startY) * n),
            e.method.call(e.scrollable, r, a),
            (r === e.x && a === e.y) || t.requestAnimationFrame(h.bind(t, e));
        }
        function b(e, r, a) {
          var s,
            c,
            d,
            p,
            u = i();
          e === n.body
            ? ((s = t),
              (c = t.scrollX || t.pageXOffset),
              (d = t.scrollY || t.pageYOffset),
              (p = o.scroll))
            : ((s = e), (c = e.scrollLeft), (d = e.scrollTop), (p = l)),
            h({ scrollable: s, method: p, startTime: u, startX: c, startY: d, x: r, y: a });
        }
      }
      var p = n(184),
        u = n(537);
      function m(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const h = (e, t, n, r) => {
        const a = e.contentDocument;
        return (
          ((e, t, n = 'en') => {
            l.a.isFirefox() && (e.contentDocument.open(), e.contentDocument.close()),
              ((e, t, n = 'en') => {
                (e.documentElement.innerHTML = t), e.documentElement.setAttribute('lang', n);
              })(e.contentDocument, t, n);
          })(
            e,
            ((e = !1, t = !1, n) => {
              const r = e ? 'assertive' : 'polite',
                a = t ? 'intercom-container-body-no-margin' : '';
              return `<!doctype html>\n  <html>\n    <head>\n      <title>Intercom Live Chat</title>\n      <base target="_parent" />\n    </head>\n    <body id="intercom-container-body" dir="${Object(
                c.k
              )(
                n
              )}" class="${a}">\n      <div id="intercom-container" class="intercom-namespace" role="main" aria-live="${r}"></div>\n    </body>\n  </html>`;
            })(t, r, n),
            n
          ),
          a.getElementById('intercom-container')
        );
      };
      class frame_Frame extends a.Component {
        constructor(...e) {
          super(...e),
            m(this, 'iframe', void 0),
            m(this, 'timeout', void 0),
            m(this, 'state', { delayRender: this.props.ariaLiveAssertive, container: null }),
            m(this, 'mountTimeout', null),
            m(this, 'handleTab', (e) => {
              Object(c.t)(e) && this.props.onTabPressed();
            });
        }
        componentDidMount() {
          const { iframe: e } = this;
          if (!e || !e.contentWindow) return;
          Object(s.a)(e.contentWindow);
          const { ariaLiveAssertive: t, locale: n, removeBodyMargin: r } = this.props,
            a = h(e, t, n, r);
          Object(p.a)(e.contentWindow), d(e.contentWindow), this.setState({ container: a });
        }
        componentDidUpdate(e) {
          e.locale !== this.props.locale &&
            this.iframe &&
            (this.iframe.contentDocument.body.dir = Object(c.k)(this.props.locale));
        }
        componentWillUnmount() {
          clearTimeout(this.timeout);
        }
        renderChildren() {
          const { children: e } = this.props,
            { delayRender: t, container: n } = this.state,
            { iframe: r } = this;
          return t
            ? ((this.timeout = setTimeout(() => this.setState({ delayRender: !1 }), 1)), null)
            : r && r.contentWindow && n
            ? Object(i.createPortal)(
                o.a.createElement(
                  'div',
                  { onKeyDown: this.handleTab, tabIndex: '-1', role: 'region' },
                  o.a.createElement(
                    u.a,
                    { target: r.contentWindow.document.head },
                    e(r.contentWindow, r)
                  )
                ),
                n
              )
            : null;
        }
        render() {
          const { frameName: e, className: t, style: n, title: r } = this.props;
          return o.a.createElement(
            'iframe',
            {
              'ref': (e) => (this.iframe = e),
              'allowFullScreen': '1',
              'className': t,
              'style': n,
              'name': e,
              'title': r || 'Intercom Live Chat',
              'data-intercom-frame': 'true',
            },
            this.renderChildren()
          );
        }
      }
      m(frame_Frame, 'defaultProps', { ariaLiveAssertive: !0, removeBodyMargin: !1 });
      var b = n(75);
      const { assign: g } = Object;
      t.a = Object(r.connect)(
        (e) => {
          const { user: { locale: t = 'en' } = {} } = e;
          return { locale: t };
        },
        (e) => ({
          onTabPressed: () =>
            e((t, n) => {
              const { tabNavigation: r } = n().accessibility;
              r || e(Object(b.b)(!0));
            }),
          onClicked: () =>
            e((t, n) => {
              const { tabNavigation: r } = n().accessibility;
              r && e(Object(b.b)(!1));
            }),
        }),
        (e, t, n) => g({}, e, t, n)
      )(frame_Frame);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return i;
      }),
        n.d(t, 'a', function () {
          return s;
        }),
        n.d(t, 'd', function () {
          return l;
        }),
        n.d(t, 'b', function () {
          return c;
        });
      var r = n(461),
        a = n(470),
        o = n(491);
      const i = Object(r.c)(a.d, { target: 'e1q3vtls0' })(),
        s = Object(r.c)('div', { target: 'e1q3vtls1' })(
          'margin-top:60px;color:',
          Object(r.f)('previewText'),
          ';',
          o.b.className,
          '{display:flex;flex-direction:row;align-items:center;height:auto;margin:0 ',
          Object(r.f)('postMarginPercent'),
          '% 30px;',
          o.a.className,
          '{margin-right:10px;}}.intercom-block-image{margin:0 ',
          Object(r.f)('postMarginPercent'),
          '% 34px;}.intercom-block-paragraph{line-height:1.53;color:',
          Object(r.f)('bodyText'),
          ';}.intercom-block-code{margin:1em ',
          Object(r.f)('postMarginPercent'),
          '%;padding:16px;overflow:auto;line-height:1.45;background-color:',
          Object(r.f)('codeBlockBackground'),
          ';border-radius:3px;}code{font-family:',
          Object(r.f)('fontMono'),
          ';background-color:',
          Object(r.f)('codeBlockBackground'),
          ';padding:0;padding-top:0.2em;padding-bottom:0.2em;margin:0;font-size:85%;border-radius:3px;}'
        ),
        l = Object(r.c)('h1', { target: 'e1q3vtls2' })(
          'font-size:33px;line-height:1.24;margin:0 ',
          Object(r.f)('postMarginPercent'),
          '% 17px;color:',
          Object(r.f)('appColor'),
          ';font-weight:normal;overflow-wrap:break-word;word-break:break-all;word-break:break-word;'
        ),
        c = Object(r.c)('div', { target: 'e1q3vtls3' })(
          'font-size:20px;line-height:1.35;margin:0 ',
          Object(r.f)('postMarginPercent'),
          '% 17px;color:',
          Object(r.f)('previewText'),
          ';overflow-wrap:break-word;word-break:break-all;word-break:break-word;'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return g;
      }),
        n.d(t, 'd', function () {
          return f;
        }),
        n.d(t, 'a', function () {
          return v;
        }),
        n.d(t, 'c', function () {
          return x;
        }),
        n.d(t, 'b', function () {
          return y;
        });
      var r = n(461),
        a = n(463),
        o = n(551),
        i = n(528),
        s = n(489),
        l = n(490),
        c = n(491),
        d = n(517),
        p = n.n(d),
        u = n(518),
        m = n.n(u);
      var h = { name: 'y8aj3r', styles: 'padding:0;' },
        b = { name: '17ny6oe', styles: '-webkit-text-size-adjust:100%;' };
      const g = Object(r.c)('div', { target: 'e1uu5mk80' })(
          'width:100%;height:100%;padding:40px;box-sizing:border-box;display:flex;justify-content:center;align-items:center;',
          ({ theme: e }) => e.isMobileSize && b,
          ' ',
          s.a.className,
          '{width:320px;margin:16px auto;}',
          l.b.className,
          '{',
          a.e,
          '}',
          c.b.className,
          '{display:flex;flex-direction:column;}',
          ({ isScrolled: e, theme: t }) =>
            e &&
            Object(r.b)(
              c.c.className,
              '{position:relative;z-index:',
              Object(a.m)(3, t),
              ';box-shadow:0 0 9px 0 rgba(0,0,0,0.3);}'
            ),
          ' ',
          ({ theme: e }) => e.isMobile && h
        ),
        f = Object(r.c)('div', { target: 'e1uu5mk81' })(
          'display:flex;position:relative;flex-direction:column;width:100%;max-width:800px;max-height:100%;background:',
          Object(r.f)('white'),
          ';border-radius:7px;box-shadow:0 3px 32px 0 rgba(0,0,0,0.14);font-size:14px;color:',
          Object(r.f)('bodyText'),
          ';overflow:hidden;@media (-ms-high-contrast:active){border:1px solid white;}',
          o.a.className,
          '{box-shadow:none;border-radius:0;',
          i.c.className,
          ',',
          i.e.className,
          '{border-radius:0;}}.intercom-modal-enter-active &,.intercom-modal-enter-done &{opacity:1;transform:translateY(0);transition:opacity ',
          '200ms',
          ',transform ',
          '200ms',
          ';}.intercom-modal-exit &{opacity:1;transform:translateY(0);}.intercom-modal-exit.intercom-modal-exit-active &{opacity:0;transform:translateY(20px);transition:opacity ',
          '200ms',
          ',transform ',
          '200ms',
          ';}'
        ),
        v = Object(r.c)('span', { target: 'e1uu5mk82' })(
          'z-index:',
          Object(a.m)(3),
          ';position:absolute;top:0;right:0;width:',
          Object(r.f)('postHeaderHeightPx'),
          'px;height:',
          Object(r.f)('postHeaderHeightPx'),
          'px;background-position:center;outline-offset:-5px;cursor:pointer;',
          Object(a.b)(p.a, m.a, '12px', '12px'),
          ';'
        ),
        x = Object(r.c)('div', { target: 'e1uu5mk83' })(
          'flex-shrink:0;margin-top:16px;',
          ({ isCentered: e, theme: t }) =>
            e && Object(r.b)('text-align:center;background:', t.white, ';'),
          ';'
        ),
        y = Object(r.c)('div', { target: 'e1uu5mk84' })(
          'border-top:1px solid ',
          Object(r.f)('lightGrey2'),
          ';width:100%;background-color:',
          Object(r.f)('white'),
          ';box-sizing:border-box;padding:15px 38px;border-radius:0 0 8px 8px;color:',
          Object(r.f)('inputPlaceholder'),
          ';font-size:14px;line-height:26px;outline-offset:-5px;cursor:text;span{cursor:text;}'
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(464),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(461),
        l = n(473),
        c = n(481),
        d = n(482),
        p = n(469),
        u = n(470),
        m = n(483),
        h = n(479),
        b = n(476),
        g = n(480),
        f = n(484),
        v = n(507);
      const x = Object(s.c)('div', { target: 'eatvea10' })(
        l.a,
        ' ',
        p.c.className,
        ' &,',
        u.d.className,
        ' &,',
        m.b.className,
        ' &,',
        c.e.className,
        ' &,',
        d.b.className,
        ' &,',
        g.e.className,
        ' &,',
        f.c.className,
        ' &,',
        h.a.className,
        ' &,',
        b.e.className,
        ' &,',
        v.a.className,
        ' &{display:block;text-align:center;max-width:100%;img{margin:0 auto;display:block;max-width:100%;vertical-align:bottom;}}',
        c.e.className,
        ' &,',
        g.e.className,
        ' &,.intercom-tour-step-pointer &{margin-bottom:23px;}',
        p.c.className,
        ' &,',
        u.d.className,
        ' &,.intercom-tour-step-post &{margin-bottom:34px;}',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{margin-bottom:10px;transition:all 0.12s ease-out;}',
        m.b.className,
        ' &,',
        d.b.className,
        ' &{margin-bottom:10px;}.intercom-comment-single &{img{border-radius:4px;}}'
      );
      var y = n(39),
        j = n(463);
      const O = Object(s.c)('div', { target: 'e1g5bqbv0' })(j.f),
        C = Object(s.c)('img', { target: 'e1g5bqbv1' })({
          name: '1le7mh6',
          styles:
            'cursor:zoom-out;max-width:90vw;max-height:90vh;transition:max-width ease 200ms,max-height ease 200ms;opacity:0;transform:translateY(20px);.intercom-modal-enter-active &,.intercom-modal-enter-done &{opacity:1;transform:translateY(0);transition:opacity 200ms,transform 200ms;}.intercom-modal-exit &{opacity:1;transform:translateY(0);}.intercom-modal-exit.intercom-modal-exit-active &{opacity:0;transform:translateY(20px);transition:opacity 200ms,transform 200ms;}',
        });
      var w = n(538);
      var E = Object(o.memo)((e) => {
        const { src: t, onClose: n, frameWindow: r, returnFocus: a, title: o } = e;
        return i.a.createElement(
          w.b,
          { frameWindow: r, returnFocus: a, closeCallback: n },
          ({ onClose: e }) =>
            i.a.createElement(
              O,
              null,
              i.a.createElement(C, {
                'src': t,
                'alt': o || '',
                'onClick': e,
                'aria-label': Object(y.e)('close'),
              })
            )
        );
      });
      const k = Object(s.c)('div', { target: 'ebxf68u0' })({
        name: 'ohwg9z',
        styles: 'position:relative;overflow:hidden;',
      });
      var S = { name: 'vgd1sg', styles: 'cursor:zoom-in;' },
        _ = { name: 'whh5e5', styles: 'opacity:1;' };
      const P = Object(s.c)('img', { target: 'ebxf68u1' })(
          'opacity:0;transition:opacity 100ms ease-out;',
          ({ loaded: e }) => e && _,
          ' ',
          ({ zoomable: e }) => e && S
        ),
        T = Object(s.c)('div', { target: 'ebxf68u2' })({
          name: 's54o4s',
          styles:
            'position:absolute;top:0;right:0;bottom:0;background-color:white;opacity:0.5;transition:width 1s linear;',
        });
      function B(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class image_Image extends o.Component {
        constructor(...e) {
          super(...e),
            B(this, 'state', { loaded: !1, failed: !1, zoomed: !1 }),
            B(this, 'imgRef', void 0),
            B(this, 'containerRef', void 0),
            B(
              this,
              'placeholder',
              `data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' width%3D'${this.props.width}' height%3D'${this.props.height}' viewBox%3D'0 0 ${this.props.width} ${this.props.height}'%2F%3E`
            ),
            B(this, 'handleClick', () => {
              if (this.props.onImageClick && this.containerRef) {
                const e = this.containerRef.getBoundingClientRect(),
                  { src: t } = this.props;
                this.props.onImageClick(t, {
                  x: e.left,
                  y: e.top,
                  width: e.width,
                  height: e.height,
                });
              }
              !this.state.zoomed && this.props.zoomable && this.setState({ zoomed: !0 });
            }),
            B(this, 'handleClose', () => {
              this.setState({ zoomed: !1 });
            }),
            B(this, 'handleLoad', () => {
              this.setState({ loaded: !0, failed: !1 });
            }),
            B(this, 'handleError', () => {
              this.setState({ failed: !0, loaded: !1 });
            });
        }
        getProgressStyle() {
          const { progress: e } = this.props;
          return { width: `${100 - Math.max(Math.min(e, 100), 0)}%` };
        }
        imageHasLoaded() {
          return this.state.loaded && !this.state.failed;
        }
        getImageStyle() {
          return this.imageHasLoaded() ? {} : { visibility: 'hidden', width: 0, height: 0 };
        }
        renderZoomedImage() {
          return i.a.createElement(E, {
            src: this.props.src,
            title: this.props.title,
            onClose: this.handleClose,
            frameWindow: this.props.frameWindow,
            returnFocus: this.imgRef && this.imgRef.focus.bind(this.imgRef),
          });
        }
        renderProgress() {
          return i.a.createElement(T, { style: this.getProgressStyle() });
        }
        renderPlaceholderImage() {
          const { width: e, height: t } = this.props;
          return this.imageHasLoaded()
            ? null
            : i.a.createElement('img', { src: this.placeholder, alt: '', width: e, height: t });
        }
        renderImage() {
          const { src: e, width: t, height: n, progress: r, title: a, zoomable: o } = this.props,
            { zoomed: s, loaded: l } = this.state;
          return i.a.createElement(
            i.a.Fragment,
            null,
            i.a.createElement(P, {
              'src': e,
              'style': this.getImageStyle(),
              'width': t,
              'height': n,
              'onLoad': this.handleLoad,
              'onError': this.handleError,
              'onClick': this.handleClick,
              'alt': a || '',
              'aria-label': a,
              'zoomable': o,
              'loaded': l,
              'ref': (e) => (this.imgRef = e),
            }),
            s ? this.renderZoomedImage() : null,
            r < 100 ? this.renderProgress() : null
          );
        }
        render() {
          return i.a.createElement(
            k,
            { ref: (e) => (this.containerRef = e) },
            this.renderPlaceholderImage(),
            this.renderImage()
          );
        }
      }
      B(image_Image, 'defaultProps', { zoomable: !1 });
      class image_ImageBlock extends o.Component {
        renderLinkedImage() {
          const { linkUrl: e, trackingLinkUrl: t } = this.props.block;
          return i.a.createElement('a', { 'href': e, 'data-via': t }, this.renderImage());
        }
        renderImage() {
          const {
              zoomable: e,
              block: t,
              maxWidth: n,
              onImageClick: r,
              frameWindow: a,
            } = this.props,
            { url: o, width: s, height: l, progress: c, linkUrl: d, title: p } = t;
          return i.a.createElement(image_Image, {
            src: o,
            maxWidth: n,
            width: s,
            height: l,
            title: p,
            zoomable: e && !d,
            progress: c,
            onImageClick: r,
            frameWindow: a,
          });
        }
        render() {
          const { linkUrl: e } = this.props.block;
          return i.a.createElement(
            x,
            { className: 'intercom-block-image' },
            e ? this.renderLinkedImage() : this.renderImage()
          );
        }
      }
      var N, A, M;
      (M = { zoomable: !1 }),
        (A = 'defaultProps') in (N = image_ImageBlock)
          ? Object.defineProperty(N, A, {
              value: M,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (N[A] = M);
      var I = n(477),
        z = { name: 'mgww5h', styles: 'margin:0 0 10px;' },
        L = { name: '18jip5v', styles: 'margin:0;min-height:10px;' },
        R = { name: 'xi606m', styles: 'text-align:center;' };
      const F = Object(s.c)(I.a, { target: 'e19rsvrm0' })(
        l.a,
        ' ',
        ({ align: e }) => 'center' === e && R,
        ' ',
        c.e.className,
        ' &,',
        d.b.className,
        ' &,',
        g.e.className,
        ' &,',
        p.c.className,
        ' &,',
        u.d.className,
        ' &,',
        m.b.className,
        ' &,',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{color:',
        Object(s.f)('bodyText'),
        ';}',
        c.e.className,
        ' &,.intercom-tour-step-pointer &{font-size:14px;line-height:',
        Object(s.f)('noteBodyLineHeight'),
        ';margin:0 ',
        Object(s.f)('noteMarginPercent'),
        '% 10px;}',
        g.e.className,
        ' &{font-size:14px;line-height:',
        Object(s.f)('noteBodyLineHeight'),
        ';margin:0 0 10px;}.intercom-tour-step-post &{margin:0 ',
        Object(s.f)('tourPostMarginPx'),
        'px 10px;}',
        p.c.className,
        ' &,',
        u.d.className,
        ' &{font-size:17px;line-height:',
        Object(s.f)('postBodyLineHeight'),
        ';margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 17px;}',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{font-size:14px;line-height:',
        Object(s.f)('chatBodyLineHeight'),
        ';margin:0 ',
        Object(s.f)('chatMarginPx'),
        'px 10px;}.intercom-comment &,',
        m.b.className,
        ' &,',
        d.b.className,
        ' &{font-size:14px;line-height:',
        Object(s.f)('chatBodyLineHeight'),
        ';',
        ({ noMargin: e }) => (e ? L : z),
        '}',
        c.e.className,
        ' &,',
        d.b.className,
        ' &,',
        g.e.className,
        ' &,',
        f.c.className,
        ' &,',
        u.d.className,
        ' &,',
        m.b.className,
        ' &,',
        p.c.className,
        ' &,',
        h.a.className,
        ' &,',
        b.e.className,
        ' &,.intercom-comment &{p,a,b,strong,i,em{overflow-wrap:break-word;word-wrap:break-word;}a{text-decoration:underline;&:hover,&:focus,&:active{text-decoration:none;}}code{padding:1px;background-color:',
        Object(s.f)('codeBlockBackground'),
        ';font-family:',
        Object(s.f)('fontMono'),
        ';}}'
      );
      function D(e) {
        const { align: t, text: n } = e.block;
        if (!n) return null;
        let r = !1;
        return (
          e.block.class && (r = -1 !== e.block.class.indexOf('no-margin')),
          i.a.createElement(F, {
            text: n,
            tagName: 'div',
            className: 'intercom-block-paragraph',
            align: t,
            noMargin: r,
          })
        );
      }
      function H(e) {
        const { content: t } = e.block;
        return i.a.createElement(F, {
          text: t,
          tagName: 'div',
          className: 'intercom-block-paragraph',
        });
      }
      const W = Object(s.c)('div', { target: 'e5cw2r50' })(
          l.a,
          ' ',
          c.e.className,
          ' &,',
          g.e.className,
          ' &,',
          f.c.className,
          ' &,',
          u.d.className,
          ' &,',
          p.c.className,
          ' &,',
          h.a.className,
          ' &,',
          m.b.className,
          ' &,',
          d.b.className,
          ' &,',
          b.e.className,
          ' &,.intercom-comment &{position:relative;display:block;iframe,video{width:100%;}}.intercom-comment &,.intercom-chat-card &{margin:0 0 10px;iframe,video{height:120px;}}',
          g.e.className,
          ' &{margin:0 0 10px;iframe,video{height:130px;}}.intercom-tour-step-post &,',
          u.d.className,
          ' &,',
          p.c.className,
          ' &{iframe,video{height:310px;}}',
          c.e.className,
          ' &{margin:0 ',
          Object(s.f)('noteMarginPercent'),
          '% 24px;}',
          f.c.className,
          ' &{margin:0;}',
          u.d.className,
          ' &,',
          p.c.className,
          ' &{margin:0 ',
          Object(s.f)('postMarginPercent'),
          '% 40px;}',
          m.b.className,
          ' &,',
          d.b.className,
          ' &,',
          b.e.className,
          ' &,',
          h.a.className,
          ' &{margin-bottom:10px;}.intercom-comment-single &{iframe,video{border-radius:4px;}}.intercom-tour-step-post &{margin-bottom:14px;}'
        ),
        q = (e, t) => {
          switch (e) {
            case 'youtube':
              return `https://www.youtube.com/embed/${t}?rel=0`;
            case 'vimeo':
              return `https://player.vimeo.com/video/${t}`;
            case 'wistia':
              return `https://fast.wistia.net/embed/iframe/${t}`;
            case 'loom':
              return `https://www.loom.com/embed/${t}`;
            case 'vidyard':
              return `https://play.vidyard.com/${t}`;
          }
        };
      function U(e) {
        const { provider: t, id: n } = e.block,
          { pointerSize: r } = e,
          a = void 0 === r || 0 === r ? 'auto' : '350px';
        return i.a.createElement(
          W,
          null,
          i.a.createElement('iframe', {
            allowFullScreen: '1',
            height: a,
            frameBorder: '0',
            src: q(t, n),
            title: t,
          })
        );
      }
      const V = Object(s.c)('div', { target: 'e1ye6w3p0' })(
        l.a,
        ' ',
        v.a.className,
        " &,.intercom-chat-card-borderless-single &{position:relative;display:block;width:232px;&:before{display:block;content:' ';width:100%;padding-top:",
        75,
        '%;}iframe,video{width:100%;position:absolute;top:0;left:0;right:0;bottom:0;}}.intercom-chat-card-borderless-single &{width:240px;}',
        p.c.className,
        ' &,',
        u.d.className,
        ' &{margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 15px;video{width:100%;}}'
      );
      function G(e) {
        return i.a.createElement(
          V,
          null,
          i.a.createElement(
            'video',
            { loop: !0, controls: !0, autoPlay: !0 },
            i.a.createElement('source', { type: 'video/mp4', src: e.block.url })
          )
        );
      }
      var $ = { name: 'xi606m', styles: 'text-align:center;' };
      const X = Object(s.c)(I.a, { target: 'e9tr3d70' })(
        l.a,
        ' font-size:22px;font-weight:bold;padding-bottom:12px;line-height:1.14;',
        ({ centered: e }) => e && $,
        ' ',
        u.d.className,
        ' &,',
        m.b.className,
        ' &,',
        p.c.className,
        ' &,',
        c.e.className,
        ' &,',
        d.b.className,
        ' &,',
        f.c.className,
        ' &,',
        g.e.className,
        ' &{color:',
        Object(s.f)('appColor'),
        ';font-weight:normal;}',
        u.d.className,
        ' &,',
        p.c.className,
        ' &{font-size:33px;line-height:1.24;margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 30px;}',
        d.b.className,
        ' &,',
        m.b.className,
        ' &{font-size:20px;line-height:1.33;margin:0 0 10px 0;}',
        c.e.className,
        ' &,',
        g.e.className,
        ' &,',
        f.c.className,
        ' &{font-size:24px;line-height:1.33;margin:0 ',
        Object(s.f)('noteMarginPercent'),
        '% 14px;}.intercom-tour-step-post &{margin:0 ',
        Object(s.f)('tourPostMarginPx'),
        'px 14px;}',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{font-size:14px;color:',
        Object(s.f)('bodyText'),
        ';margin:0 ',
        Object(s.f)('chatMarginPx'),
        'px 10px;line-height:1.33;}',
        p.c.className,
        ' &{font-size:22px;font-weight:normal;line-height:1.24;margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 17px;color:',
        Object(s.f)('bodyText'),
        ';a{text-decoration:underline;&:hover,&:focus,&:active{text-decoration:none;}}}'
      );
      function Y(e) {
        const { text: t, align: n } = e.block;
        return i.a.createElement(X, { tagName: 'h1', text: t, centered: 'center' === n });
      }
      var K = { name: 'xi606m', styles: 'text-align:center;' };
      const Z = Object(s.c)(I.a, { target: 'e1eg08z40' })(
        l.a,
        ' font-size:19px;font-weight:bold;padding:1px 0 11px;',
        ({ centered: e }) => e && K,
        ' ',
        u.d.className,
        ' &,',
        m.b.className,
        ' &,',
        p.c.className,
        ' &,',
        c.e.className,
        ' &,',
        d.b.className,
        ' &,',
        f.c.className,
        ' &,',
        g.e.className,
        ' &,',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{color:',
        Object(s.f)('bodyText'),
        ';font-size:20px;line-height:1.24;margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 15px;}',
        m.b.className,
        ' &,',
        d.b.className,
        ' &{margin:0 0 10px 0;font-size:17px;}',
        c.e.className,
        ' &,',
        g.e.className,
        ' &,.intercom-tour-step-pointer &{margin:0 ',
        Object(s.f)('noteMarginPercent'),
        '% 15px;}.intercom-tour-step-post &{margin:0 ',
        Object(s.f)('tourPostMarginPx'),
        'px 15px;}',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{font-size:14px;line-height:1.33;margin:0 ',
        Object(s.f)('chatMarginPx'),
        'px 10px;}',
        p.c.className,
        ' &{line-height:1.24;color:',
        Object(s.f)('bodyText'),
        ';font-size:18px;font-weight:600;margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 15px;a{text-decoration:underline;&:hover,&:focus,&:active{text-decoration:none;}}}'
      );
      function J(e) {
        const { text: t, align: n } = e.block;
        return i.a.createElement(Z, { tagName: 'h2', text: t, centered: 'center' === n });
      }
      const Q = ({ theme: e }) =>
          Object(s.b)(
            l.a,
            ' ',
            (({ theme: e }) =>
              Object(s.b)(
                '> li{color:',
                e.bodyText,
                ';margin:0 0 5px 15px;padding:0;list-style-position:outside;list-style-type:disc;&,a,b,strong,i,em{overflow-wrap:break-word;word-wrap:break-word;}a{text-decoration:underline;}&:last-child{margin-bottom:0;}}'
              ))({ theme: e }),
            ' ',
            v.a.className,
            ' &,',
            m.b.className,
            ' &,',
            d.b.className,
            ' &{font-size:14px;margin:0 0 10px 10px;line-height:1.33;}',
            u.d.className,
            ' &,',
            p.c.className,
            ' &{font-size:17px;line-height:1.41;margin:0 ',
            e.postMarginPercent,
            '% 27px;padding:0 0 0 16px;}',
            h.a.className,
            ' &,',
            b.e.className,
            ' &{font-size:14px;margin:0 ',
            e.chatMarginPx,
            'px 10px;padding:0 0 0 8px;line-height:1.33;}',
            c.e.className,
            ' &,',
            g.e.className,
            ' &,',
            f.c.className,
            ' &{font-size:14px;margin:0 ',
            e.noteMarginPercent,
            '% 10px;padding:0 0 0 8px;line-height:1.33;}',
            p.c.className,
            ' &{line-height:1.53;}.intercom-tour-step-post &{margin:0 ',
            e.tourPostMarginPx,
            'px 10px;}'
          ),
        ee = Object(s.c)('ol', { target: 'e83mt0d0' })(Q, ' > li{list-style-type:decimal;}'),
        te = Object(s.c)('ul', { target: 'e83mt0d1' })(Q);
      function ne(e) {
        const { items: t, type: n } = e.block,
          r = 'unorderedList' === n,
          a = t.map((e, t) => i.a.createElement(I.a, { text: e, key: t, tagName: 'li' }));
        return r ? i.a.createElement(te, null, a) : i.a.createElement(ee, null, a);
      }
      var re = { name: 'xi606m', styles: 'text-align:center;' };
      const ae = Object(s.c)('div', { target: 'eu948pg0' })(
          ({ align: e }) => 'center' === e && re,
          ' ',
          p.c.className,
          ' &,',
          u.d.className,
          ' &,',
          f.c.className,
          ' &{margin-bottom:17px;}',
          c.e.className,
          ' &{margin-bottom:9px;}',
          h.a.className,
          ' &{margin-bottom:10px;}',
          m.b.className,
          ' &,',
          d.b.className,
          ' &{margin-bottom:10px;}'
        ),
        oe = Object(s.c)('a', { target: 'eu948pg1' })(
          l.a,
          ' ',
          p.c.className,
          ' &,',
          u.d.className,
          ' &,',
          c.e.className,
          ' &,',
          g.e.className,
          ' &,',
          f.c.className,
          ' &,',
          m.b.className,
          ' &,',
          d.b.className,
          ' &{display:inline-block;font-weight:bold;color:',
          Object(s.f)('white'),
          ';background-color:',
          Object(s.f)('appColor'),
          ';text-align:center;box-sizing:border-box;border-radius:4px;padding:8px 40px;font-size:14px;text-decoration:none;> span{font-weight:bold;}}',
          p.c.className,
          ' &,',
          u.d.className,
          ' &,.intercom-tour-step-post &{margin:0 ',
          Object(s.f)('postMarginPercent'),
          '%;font-size:17px;line-height:',
          Object(s.f)('postBodyLineHeight'),
          ';}',
          c.e.className,
          ' &,',
          g.e.className,
          ' &,.intercom-tour-step-pointer &{margin:0 ',
          Object(s.f)('noteMarginPercent'),
          '%;line-height:',
          Object(s.f)('noteBodyLineHeight'),
          ';}',
          h.a.className,
          ' &,',
          b.e.className,
          ' &{color:',
          Object(s.f)('appColor'),
          ';text-decoration:underline;font-size:14px;line-height:',
          Object(s.f)('chatBodyLineHeight'),
          ';margin:0 ',
          Object(s.f)('chatMarginPx'),
          'px 10px ',
          Object(s.f)('chatMarginPx'),
          'px;&:hover{text-decoration:none;}}',
          m.b.className,
          ' &{margin:0;line-height:',
          Object(s.f)('postBodyLineHeight'),
          ';}',
          d.b.className,
          ' &{margin:0;line-height:',
          Object(s.f)('noteBodyLineHeight'),
          ';}'
        );
      function ie(e) {
        const { align: t, text: n, linkUrl: r, trackingLinkUrl: a } = e.block;
        return i.a.createElement(
          ae,
          { className: 'intercom-block-button-container', align: t },
          i.a.createElement(
            oe,
            { 'href': r, 'data-via': a, 'className': 'intercom-block-button' },
            i.a.createElement(I.a, { text: n })
          )
        );
      }
      const se = Object(s.c)('div', { target: 'evwb75o0' })(
        l.a,
        ' iframe{max-height:20px;max-width:100%;}',
        c.e.className,
        ' &,',
        g.e.className,
        ' &{margin:0 ',
        Object(s.f)('noteMarginPercent'),
        '% 9px;}.intercom-tour-step-pointer &{margin:0 ',
        Object(s.f)('tourPostMarginPx'),
        'px 9px;}',
        p.c.className,
        ' &,',
        u.d.className,
        ' &,.intercom-tour-step-post &{margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 9px;}',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{margin:0 ',
        Object(s.f)('chatMarginPx'),
        'px 10px;}',
        m.b.className,
        ' &,',
        d.b.className,
        ' &{margin:0 0 10px 0;}'
      );
      function le(e) {
        return i.a.createElement(
          se,
          null,
          i.a.createElement('iframe', {
            allowTransparency: 'true',
            frameBorder: '0',
            scrolling: 'no',
            src:
              ((t = e.block.username),
              `https://platform.twitter.com/widgets/follow_button.html?show_count=false&screen_name=${t}`),
            title: 'Twitter',
          })
        );
        var t;
      }
      const ce = Object(s.c)('div', { target: 'ejpsuct0' })(
        l.a,
        ' iframe{max-height:20px;max-width:100%;}',
        c.e.className,
        ' &,',
        g.e.className,
        ' &,.intercom-tour-step-pointer &{margin:0 ',
        Object(s.f)('noteMarginPercent'),
        '% 9px;}',
        p.c.className,
        ' &,',
        u.d.className,
        ' &,.intercom-tour-step-post &{margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 9px;}',
        h.a.className,
        ' &,',
        b.e.className,
        ' &{margin:0 ',
        Object(s.f)('chatMarginPx'),
        'px 10px;}',
        m.b.className,
        ' &,',
        d.b.className,
        ' &{margin:0 0 10px 0;}'
      );
      function de(e) {
        return i.a.createElement(
          ce,
          null,
          i.a.createElement('iframe', {
            src:
              ((t = e.block.url),
              `https://www.facebook.com/plugins/like.php?href=${t}&layout=button_count&action=like&share=false&size=small`),
            scrolling: 'no',
            frameBorder: '0',
            allowTransparency: 'true',
            title: 'Facebook',
          })
        );
        var t;
      }
      const pe = Object(s.c)('div', { target: 'e1qj025d0' })(
          l.a,
          ' margin-top:10px;line-height:1;',
          g.e.className,
          ' &,',
          c.e.className,
          ' &,.intercom-tour-step-pointer &{margin:10px ',
          Object(s.f)('noteMarginPercent'),
          '% 0;}.intercom-tour-step-post &,',
          p.c.className,
          ' &,',
          u.d.className,
          ' &{margin:10px ',
          Object(s.f)('postMarginPercent'),
          '% 0;}',
          h.a.className,
          ' &,',
          b.e.className,
          '{margin:10px ',
          Object(s.f)('chatMarginPx'),
          'px 0;}&:first-of-type{margin-top:0;}'
        ),
        ue = Object(s.c)('a', { target: 'e1qj025d1' })(
          p.c.className,
          ' &,',
          u.d.className,
          ' &,',
          m.b.className,
          ' &,',
          c.e.className,
          ' &,',
          d.b.className,
          ' &,',
          g.e.className,
          ' &,',
          f.c.className,
          ' &,',
          h.a.className,
          ' &,',
          b.e.className,
          ' &,.intercom-comment &{display:flex;align-items:center;height:22px;margin-top:10px;text-overflow:ellipsis;text-decoration:none;white-space:nowrap;overflow:hidden;&:first-of-type{margin-top:0;}}.intercom-comment-single &{position:relative;display:flex;box-sizing:border-box;background-position:15px;background-color:white;}.intercom-comment-single &{border:1px solid ',
          Object(s.f)('attachmentListBorder'),
          ';border-radius:',
          Object(s.f)('notificationBorderRadiusPx'),
          'px;color:',
          Object(s.f)('bodyText'),
          ';}.intercom-borderless .intercom-comment-single &{box-shadow:',
          Object(s.f)('notificationBoxShadow'),
          ';}'
        ),
        me = Object(s.c)('div', { target: 'e1qj025d2' })({
          name: 'b4nuh2',
          styles:
            'line-height:1.5;white-space:nowrap;overflow:hidden;text-decoration:underline;font-size:14px;',
        }),
        he = Object(s.c)('div', { target: 'e1qj025d3' })({
          name: '1wy62rt',
          styles: 'flex:0 0 16px;margin-right:4px;svg{width:16px;height:18px;}',
        }),
        be = Object(s.c)('div', { target: 'e1qj025d4' })(
          'top:0;right:0;bottom:0;background-color:',
          Object(s.f)('attachmentListBorder'),
          ';opacity:0;transition:width 1s linear;.intercom-comment-single &{position:absolute;opacity:0.5;}'
        );
      var ge = n(533);
      const fe = (e) => {
        const { progress: t } = e;
        return { width: `${100 - Math.max(Math.min(t, 100), 0)}%` };
      };
      function ve(e) {
        const { attachments: t, progress: n } = e.block;
        return i.a.createElement(
          pe,
          { className: 'intercom-block-attachment-list' },
          t.map(({ url: t, name: r }, a) => {
            return i.a.createElement(
              ue,
              { key: a, href: t, target: '_blank' },
              i.a.createElement(
                he,
                { className: 'intercom-block-attachment-list-icon' },
                i.a.createElement(ge.a, null)
              ),
              i.a.createElement(
                me,
                null,
                (o = r).length < 20 ? o : `${o.slice(0, 10)}...${o.slice(o.length - 10, o.length)}`
              ),
              n < 100 ? i.a.createElement(be, { style: fe(e.block) }) : null
            );
            var o;
          })
        );
      }
      const xe = Object(s.c)('pre', { target: 'e1371c100' })(
        l.a,
        ' margin:0 0 10px;padding:10px;background-color:',
        Object(s.f)('codeBlockBackground'),
        ';overflow:auto;> code{font-family:',
        Object(s.f)('fontMono'),
        ';font-size:14px;line-height:',
        Object(s.f)('chatBodyLineHeight'),
        ';white-space:pre;}',
        p.c.className,
        ' &,',
        u.d.className,
        ' &{margin:0 ',
        Object(s.f)('postMarginPercent'),
        '% 15px;}'
      );
      function ye(e) {
        const { text: t } = e.block;
        return i.a.createElement(
          xe,
          { className: 'intercom-block-code' },
          i.a.createElement(I.a, { text: t, tagName: 'code', replaceAsciiEmoji: !1 })
        );
      }
      var je = n(462),
        Oe = n(658),
        Ce = n(2);
      function we(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class video_file_VideoFileBlock extends o.Component {
        constructor(...e) {
          super(...e),
            we(this, 'addVideoAutoMessageMetric', (e, t) => {
              Object(Ce.e)(e, 'video_auto_message', 'in_app', 'from_full', t);
            }),
            we(this, 'handlePlayFromStart', () => {
              this.addVideoAutoMessageMetric('started');
            }),
            we(this, 'handleComplete', () => {
              this.addVideoAutoMessageMetric('completed');
            }),
            we(this, 'handleMuteChange', (e) => {
              e && this.addVideoAutoMessageMetric('muted');
            }),
            we(this, 'handleReplay', () => {
              this.addVideoAutoMessageMetric('replay');
            }),
            we(this, 'handleError', () => {
              this.addVideoAutoMessageMetric('failed');
            }),
            we(this, 'handleVideoLoaded', (e) => {
              this.addVideoAutoMessageMetric('loaded', { load_time: e });
            });
        }
        render() {
          const {
            block: { url: e, captions: t, thumbnailUrl: n },
            autoPlay: r,
          } = this.props;
          return i.a.createElement(Oe.a, {
            isVideoFileBlock: !0,
            srcUrl: e,
            autoPlay: r,
            onPlayFromStart: this.handlePlayFromStart,
            onComplete: this.handleComplete,
            onMuteChange: this.handleMuteChange,
            onReplay: this.handleReplay,
            onError: this.handleError,
            onVideoLoaded: this.handleVideoLoaded,
            captions: t,
            thumbnailUrl: n,
          });
        }
      }
      we(video_file_VideoFileBlock, 'defaultProps', { autoPlay: !0 });
      var Ee = Object(je.connect)((e) => ({ appName: e.app.name }))(video_file_VideoFileBlock),
        ke = n(681),
        Se = n(508),
        _e = n(489);
      class messenger_card_MessengerCardBlock extends o.Component {
        render() {
          const { block: e, isLastPart: t, frameWindow: n } = this.props,
            { onPartsHeightChange: r } = this.context || {};
          return i.a.createElement(
            _e.a,
            { className: 'intercom-block-messenger-card' },
            i.a.createElement(ke.a, {
              isInline: !0,
              cardUri: e.uri,
              isLastPart: t,
              frameWindow: n,
              onHeightChange: r,
            })
          );
        }
      }
      !(function (e, t, n) {
        t in e
          ? Object.defineProperty(e, t, {
              value: n,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (e[t] = n);
      })(messenger_card_MessengerCardBlock, 'contextType', Se.a);
      var Pe = n(531);
      const Te = Object(s.c)('table', { target: 'ewb6r1o0' })(
          l.a,
          ' ',
          p.c.className,
          ' &{display:block;overflow-x:auto;margin:36px -20px 24px;a.intercom-h2b-button{padding:8px;}}',
          p.c.className,
          ' &{line-height:',
          Object(s.f)('postBodyLineHeight'),
          ';margin:36px calc(',
          Object(s.f)('postMarginPercent'),
          '% - 20px) 24px;}'
        ),
        Be = Object(s.c)('tbody', { target: 'ewb6r1o1' })({
          name: '1qs5uya',
          styles:
            'width:640px;display:inline-table;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid rgba(0,0,0,0.2);border-radius:6px;margin:0 20px 12px;vertical-align:top;',
        });
      var Ne = { name: '1x5r0dg', styles: 'margin-bottom:0;min-height:1.53em;' };
      const Ae = Object(s.c)('td', { target: 'ewb6r1o2' })(
          'padding:8px;border-left:1px solid rgba(0,0,0,0.2);border-top:1px solid rgba(0,0,0,0.2);&:first-child{border-left:none;}',
          ({ noMargin: e }) => e && Ne,
          ' ',
          Pe.a.className,
          '{padding:0px;}',
          F.className,
          '{margin:0px;}'
        ),
        Me =
          (Object(s.c)('th', { target: 'ewb6r1o3' })({
            name: '1yebh8d',
            styles:
              'padding:8px;border-left:1px solid rgba(0,0,0,0.2);border-top:1px solid rgba(0,0,0,0.2);&:first-child{border-left:none;}',
          }),
          Object(s.c)('tr', { target: 'ewb6r1o4' })({
            name: 'bjnulg',
            styles: '&:first-child{> td{border-top:none;}}',
          }));
      function Ie(e) {
        const {
          block: { rows: t },
          Blocks: n,
        } = e;
        return i.a.createElement(
          Te,
          null,
          i.a.createElement(
            Be,
            null,
            t.map((e) =>
              i.a.createElement(
                Me,
                null,
                e.cells.map((e) =>
                  i.a.createElement(
                    Ae,
                    { noMargin: e.class && -1 !== e.class.indexOf('no-margin') },
                    i.a.createElement(n, { blocks: e.content })
                  )
                )
              )
            )
          )
        );
      }
      var ze = n(552);
      function Le() {
        return (Le =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      n.d(t, 'a', function () {
        return blocks_Blocks;
      });
      class blocks_Blocks extends o.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'handleClick', (e) => {
              const t = Re(e.target, 'href');
              t && Object(ze.a)(t) && e.preventDefault();
            });
        }
        renderBlock(e, t) {
          const {
              zoomable: n,
              maxImageWidth: r,
              onImageClick: a,
              author: o,
              autoPlay: s,
              isLastPart: l,
              pointerSize: c,
              frameWindow: d,
            } = this.props,
            p = { key: t, block: e, isLastPart: l, pointerSize: c };
          switch (e.type) {
            case 'image':
              return (
                Object.assign(p, { onImageClick: a, zoomable: n, maxWidth: r }),
                i.a.createElement(image_ImageBlock, Le({}, p, { frameWindow: d }))
              );
            case 'video':
              return i.a.createElement(U, p);
            case 'videoFile':
              return Object.assign(p, { autoPlay: s, author: o }), i.a.createElement(Ee, p);
            case 'videoReply':
              return i.a.createElement(G, p);
            case 'paragraph':
              return i.a.createElement(D, p);
            case 'heading':
              return i.a.createElement(Y, p);
            case 'subheading':
              return i.a.createElement(J, p);
            case 'unorderedList':
            case 'orderedList':
              return i.a.createElement(ne, p);
            case 'html':
              return i.a.createElement(H, p);
            case 'button':
              return i.a.createElement(ie, p);
            case 'twitterFollowButton':
              return i.a.createElement(le, p);
            case 'facebookLikeButton':
              return i.a.createElement(de, p);
            case 'attachmentList':
              return i.a.createElement(ve, p);
            case 'code':
              return i.a.createElement(ye, p);
            case 'messengerCard':
              return (
                Object.assign(p, { frameWindow: d }),
                i.a.createElement(messenger_card_MessengerCardBlock, p)
              );
            case 'rawContent':
              return i.a.createElement(H, p);
            case 'table':
              return i.a.createElement(Ie, Le({}, p, { Blocks: blocks_Blocks }));
            default:
              return i.a.createElement(D, p);
          }
        }
        render() {
          return i.a.createElement(
            Pe.a,
            { onClick: this.handleClick, tabIndex: '-1' },
            this.props.blocks.map((e, t) => this.renderBlock(e, t))
          );
        }
      }
      const Re = (e, t) => {
        for (; e; ) {
          if (void 0 !== e.getAttribute && null !== e.getAttribute(t)) return e;
          e = e.parentNode;
        }
        return null;
      };
      (blocks_Blocks.defaultTypes = { zoomable: !1 }),
        (blocks_Blocks.propTypes = {
          blocks: a.a.arrayOf(a.a.shape({ type: a.a.string.isRequired })).isRequired,
          zoomable: a.a.bool,
          frameWindow: a.a.object,
          maxImageWidth: a.a.number,
          onImageClick: a.a.func,
          author: a.a.object,
          autoPlay: a.a.bool,
          isLastPart: a.a.bool,
          pointerSize: a.a.number,
        });
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(461),
        i = n(494);
      const s = Object(o.d)('0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}'),
        l = Object(o.c)('div', { target: 'e17y6rob0' })({
          name: '1reuysi',
          styles: 'position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);',
        });
      var c = { name: 'jwuvlr', styles: 'width:12px;height:12px;border-width:2px;' },
        d = { name: '3o0h5k', styles: 'width:16px;height:16px;' },
        p = { name: 'sajjl8', styles: 'border-width:1px;' },
        u = {
          name: 'dmplw1',
          styles:
            'border-top:2px solid white;border-right:2px solid rgba(255,255,255,0.3);border-bottom:2px solid rgba(255,255,255,0.3);border-left:2px solid rgba(255,255,255,0.3);',
        };
      const m = Object(o.c)('div', { target: 'e17y6rob1' })(
        'border-radius:50%;display:block;width:28px;height:28px;animation:',
        s,
        ' 0.6s infinite linear;',
        ({ theme: e }) =>
          Object(o.b)(
            'border-top:2px solid ',
            e.buttonBackgroundColor,
            ';border-right:2px solid ',
            e.appColorSemiTransparent30,
            ';border-bottom:2px solid ',
            e.appColorSemiTransparent30,
            ';border-left:2px solid ',
            e.appColorSemiTransparent30,
            ';'
          ),
        ' ',
        ({ color: e }) => 'white' === e && u,
        ' ',
        ({ color: e, theme: t }) =>
          'grey' === e &&
          Object(o.b)(
            'border-top:2px solid ',
            t.grey,
            ';border-right:2px solid ',
            Object(i.a)(t.grey, 0.3),
            ';border-bottom:2px solid ',
            Object(i.a)(t.grey, 0.3),
            ';border-left:2px solid ',
            Object(i.a)(t.grey, 0.3),
            ';'
          ),
        ' ',
        ({ color: e, theme: t }) =>
          'black' === e &&
          Object(o.b)(
            'border-top:2px solid ',
            t.black,
            ';border-right:2px solid ',
            Object(i.a)(t.black, 0.3),
            ';border-bottom:2px solid ',
            Object(i.a)(t.black, 0.3),
            ';border-left:2px solid ',
            Object(i.a)(t.black, 0.3),
            ';'
          ),
        ' ',
        ({ size: e }) => 'regular' === e && p,
        ' ',
        ({ size: e }) => 'small' === e && d,
        ' ',
        ({ size: e }) => 'tiny' === e && c
      );
      n.d(t, 'a', function () {
        return loading_spinner_LoadingSpinner;
      });
      class loading_spinner_LoadingSpinner extends r.PureComponent {
        render() {
          const { size: e, color: t, inline: n } = this.props,
            r = a.a.createElement(m, { size: e, color: t, className: 'loading-spinner' });
          return n ? r : a.a.createElement(l, null, r);
        }
      }
      var h, b, g;
      (g = { size: 'regular', color: 'grey', inline: !1 }),
        (b = 'defaultProps') in (h = loading_spinner_LoadingSpinner)
          ? Object.defineProperty(h, b, {
              value: g,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (h[b] = g);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return r;
      });
      n(461);
      const r = {
        name: 'n1yf9',
        styles:
          'overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;&:last-child{margin-bottom:0 !important;}',
      };
    },
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return v;
      }),
        n.d(t, 'c', function () {
          return x;
        }),
        n.d(t, 'd', function () {
          return y;
        }),
        n.d(t, 'a', function () {
          return O;
        }),
        n.d(t, 'b', function () {
          return w;
        });
      var r = n(461),
        a = n(494),
        o = n(554),
        i = n(463),
        s = n(502),
        l = n(553),
        c = n(489),
        d = n(658),
        p = n(532);
      const u = Object(r.d)(
          '0%{opacity:0;}50%{transform:scale(0.5);opacity:0;}100%{transform:scale(1);opacity:1;}'
        ),
        m = (e) =>
          Object(r.b)(
            'position:relative;border-radius:',
            e.notificationBorderRadiusPx,
            'px;box-sizing:border-box;padding:0;'
          );
      var h = { name: '10ol38e', styles: '/* @noflip */ margin-left:95px;' },
        b = { name: 'xq5zr7', styles: '/* @noflip */ border-bottom-left-radius:0;' },
        g = { name: '6pe39', styles: '/* @noflip */ margin-left:45px;margin-bottom:8px;' },
        f = { name: '15r5o1a', styles: 'float:none;/* @noflip */ text-align:right;' };
      const v = Object(r.c)('div', { target: 'eaja3by0' })(
          ({ theme: e }) => m(e),
          ';background-color:',
          Object(r.f)('white'),
          ';box-shadow:',
          Object(r.f)('notificationBoxShadow'),
          ';padding-bottom:15px;.intercom-block-attachment-list{padding:0 20px;}',
          p.b.className,
          '{',
          ({ theme: e }) => e.isRtlLocale && f,
          '}',
          ({ isBorderless: e, isSingleBlock: t, isMobile: n }) =>
            e &&
            Object(r.b)(
              'padding-top:15px;clear:both;',
              !n && g,
              ' ',
              c.a.className,
              '{padding-bottom:10px;}@supports (-webkit-overflow-scrolling:touch){',
              d.a.className,
              '{width:200px;height:150px;}',
              t && Object(r.b)(d.a.className, '{width:240px;height:180px;margin-top:20px;}'),
              '}'
            ),
          ' ',
          ({ theme: e, isBorderless: t, isSingleBlock: n }) =>
            t &&
            n &&
            Object(r.b)(
              m(e),
              ';box-shadow:none;background:none;.intercom-block-image img{border-radius:',
              e.notificationBorderRadiusPx,
              'px;margin:0 auto;display:block;max-width:100%;vertical-align:bottom;}',
              d.a.className,
              '{box-shadow:0px 2px 16px rgba(0,0,0,0.14),0px 1px 6px rgba(0,0,0,0.06);}'
            ),
          ' ',
          ({ showAvatar: e }) => e && b,
          ' ',
          ({ isBorderless: e, isSingleBlock: t, showAvatar: n }) =>
            !(e && t) && n && Object(r.b)('&:after{', i.g, '}'),
          ' ',
          ({ theme: e, isBorderless: t, isSingleBlock: n }) =>
            e.isMobileSize &&
            t &&
            Object(r.b)(
              d.a.className,
              '{width:220px;height:165px;}',
              n && Object(r.b)(d.a.className, '{width:260px;height:195px;margin-top:20px;}')
            ),
          ' ',
          ({ theme: e, isBorderless: t, showAvatar: n, isMobile: a }) =>
            e.isLeftAlign &&
            t &&
            n &&
            Object(r.b)(
              !a && h,
              ' ',
              l.a.className,
              ',',
              w.className,
              '{/* @noflip */ left:-',
              e.borderlessAvatarOffsetWidthPx,
              'px;}'
            ),
          ';@media (-ms-high-contrast:active){border:1px solid white;}'
        ),
        x = Object(r.c)('div', { target: 'eaja3by1' })(
          'animation:',
          o.e,
          ' 500ms ease;> ',
          s.c.className,
          '{padding:0 20px;max-height:',
          300,
          'px;}a{color:',
          Object(r.f)('linkColor'),
          ';}'
        ),
        y = Object(r.c)(x, { target: 'eaja3by2' })(
          ({ theme: e, isScrollable: t }) =>
            t &&
            Object(r.b)(
              '> ',
              s.c.className,
              "{padding-bottom:10px;}&:after{position:absolute;content:' ';bottom:15px;left:0;right:0;height:15px;background:linear-gradient(rgba(255,255,255,0),",
              e.white,
              ' 15px);border-radius:0 0 8px 8px;}'
            ),
          ' ',
          ({ isScrollable: e, isBorderless: t }) =>
            e && t && Object(r.b)('> ', s.c.className, '{max-height:100%;}')
        );
      var j = {
        name: 'ahlub9',
        styles: 'position:relative;z-index:1;box-shadow:0 3px 2px -1px rgba(0,0,0,0.3);',
      };
      const O = Object(r.c)('div', { target: 'eaja3by3' })(
        'font-size:10px;color:',
        ({ theme: e }) => Object(a.a)(e.subheaderText, 0.7),
        ';padding:0 20px 10px 20px;',
        ({ isScrolled: e }) => e && j
      );
      var C = { name: 'zul4iv', styles: 'box-shadow:none;/* @noflip */ left:-46px;' };
      const w = Object(r.c)('div', { target: 'eaja3by4' })(
        'animation:',
        u,
        ' 500ms ease;position:absolute;bottom:0;/* @noflip */ left:-40px;box-shadow:',
        Object(r.f)('notificationBoxShadow'),
        ';border-radius:100%;',
        ({ isAuthorTypeTeam: e }) => e && C
      );
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(544),
        i = n(822),
        s = n.n(i),
        l = n(823),
        c = n.n(l);
      function d(e) {
        const t = `#1 { ${e} }`,
          n = {};
        return (
          (function e(t, n) {
            t.forEach(function (t) {
              const r = {};
              let a;
              if ('media' === t.type) {
                a = u(t.media);
                const r = (n[a] = n[a] || { __expression__: t.media });
                e(t.rules, r);
              } else
                'rule' === t.type &&
                  (t.declarations.forEach(function (e) {
                    if ('declaration' === e.type) {
                      const t = p(e.property);
                      r[t] = e.value;
                    }
                  }),
                  t.selectors.forEach(function (e) {
                    (a = (function (e) {
                      return (e = (e = (e = (e = e.replace(/\s\s+/g, ' ')).replace(
                        /[^a-zA-Z0-9]/g,
                        '_'
                      )).replace(/^_+/g, '')).replace(/_+$/g, ''));
                    })(e.trim())),
                      (n[a] = r);
                  }));
            });
          })(c()(t).stylesheet.rules, n),
          n[1]
        );
      }
      const p = (e) => e.replace(/(-.)/g, (e) => e[1].toUpperCase()),
        u = (e) => `@media ${e}`;
      function m(e) {
        return e
          ? (function e(t = [], n = [], r) {
              const o = t.shift();
              if (!o) return n;
              if ('openElement' === o.opcode) {
                const i = o.params,
                  s = (function e(t, n, r = {}) {
                    if ('attribute' !== t[0].opcode) return r;
                    const a = t.shift(),
                      o = (function (e) {
                        if ('class' === e) return 'className';
                        if ('for' === e) return 'htmlFor';
                        return e;
                      })(a.params[0]),
                      i = (function (e, t) {
                        if ('style' === e) return d(t);
                        return t;
                      })(o, a.params[1]);
                    r[o] ? (r[o] = `${r[o]} ${i}`) : (r[o] = i);
                    return e(t, n, r);
                  })(t, i, { key: r.keyIndex++ });
                let l = e(t, [], r);
                l.length || (l = null);
                const c = a.a.createElement(i, s, l);
                return n.push(c), e(t, n, r);
              }
              return 'appendText' === o.opcode ? (n.push(o.params), e(t, n, r)) : n;
            })(s()(e).instructions, [], { keyIndex: 0 })
          : null;
      }
      var h = n(461),
        b = n(463),
        g = n(824),
        f = n.n(g),
        v = n(825),
        x = n.n(v),
        y = n(545);
      const j = Object(h.b)(
        '.intercom-emoji-sub-icon{',
        Object(b.b)(f.a, x.a, '576px', '576px'),
        ' position:relative;top:2px;margin:1px;}',
        y.a.className,
        ' & .intercom-emoji-sub-icon{',
        Object(b.b)(x.a, x.a, '1152px', '1152px'),
        '}'
      );
      var O,
        C,
        w,
        E = n(486);
      n.d(t, 'a', function () {
        return text_Text;
      });
      class text_Text extends r.Component {
        useNativeEmoji() {
          const { emojiSupport: e } = this.props;
          return 'native' === e || ('image' !== e && Object(o.b)());
        }
        render() {
          const { tagName: e, className: t, emojiImageSize: n, replaceAsciiEmoji: r } = this.props;
          let { text: a } = this.props;
          a = Object(o.c)(a, n, 'intercom-emoji-sub-icon', this.useNativeEmoji(), r);
          const i = m(a);
          return Object(E.jsx)(e, { className: t, css: j }, i);
        }
      }
      (w = { emojiSupport: 'auto', emojiImageSize: 16, replaceAsciiEmoji: !0, tagName: 'span' }),
        (C = 'defaultProps') in (O = text_Text)
          ? Object.defineProperty(O, C, {
              value: w,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (O[C] = w);
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return m;
      }),
        n.d(t, 'b', function () {
          return h;
        });
      var r = n(461),
        a = n(463),
        o = n(517),
        i = n.n(o),
        s = n(518),
        l = n.n(s),
        c = n(530),
        d = n(553);
      var p = { name: 'zrr1m9', styles: 'right:auto;' },
        u = { name: '1w21syu', styles: 'width:calc(100% - 75px);' };
      const m = Object(r.c)('div', { target: 'e13bnhbe0' })(
          'z-index:',
          Object(a.m)(),
          ';position:fixed;bottom:',
          Object(r.f)('verticalPaddingPx'),
          'px;right:',
          Object(r.f)('horizontalPaddingPx'),
          'px;width:260px;max-width:260px;font-family:',
          Object(r.f)('fontSansSerif'),
          ';animation:',
          ({ theme: e }) =>
            Object(r.d)(
              '0%{transform:translateY(',
              e.chatComposerHeightPx + 50,
              'px);opacity:0;}20%{transform:translateY(',
              e.chatComposerHeightPx,
              'px);}70%{transform:translateY(',
              e.chatComposerHeightPx,
              'px);opacity:1;}100%{transform:translateY(0);}'
            ),
          ' 750ms ease;',
          ({ theme: e }) =>
            e.isLeftAlign &&
            Object(r.b)('left:', e.horizontalPaddingPx + e.borderlessAvatarOffsetWidthPx, 'px;'),
          ' ',
          ({ theme: e }) =>
            e.isLauncherEnabled &&
            Object(r.b)('bottom:', e.verticalPaddingPx + e.launcherOffsetBottomPaddingPx, 'px;'),
          ' ',
          ({ theme: e }) => e.isMobileSize && u,
          ' ',
          ({ theme: e }) => e.isMobileSize && e.isLeftAlign && p,
          ' ',
          c.e.className,
          '{width:100%;}',
          d.a.className,
          '{float:none;padding-left:0;width:100%;}'
        ),
        h = Object(r.c)('div', { target: 'e13bnhbe1' })(
          'position:absolute;top:3px;/* @noflip */ right:3px;width:12px;height:12px;padding:10px;background-position:center;',
          Object(a.b)(i.a, l.a, '12px', '12px'),
          ';span{display:none;}'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return x;
      }),
        n.d(t, 'b', function () {
          return y;
        }),
        n.d(t, 'a', function () {
          return j;
        }),
        n.d(t, 'c', function () {
          return O;
        }),
        n.d(t, 'd', function () {
          return w;
        });
      var r = n(461),
        a = n(463),
        o = n(517),
        i = n.n(o),
        s = n(518),
        l = n.n(s),
        c = n(545),
        d = n(502),
        p = n(490),
        u = n(489),
        m = n(550),
        h = n(661),
        b = n(531),
        g = n(491),
        f = { name: '17ny6oe', styles: '-webkit-text-size-adjust:100%;' },
        v = {
          name: '1e4dm9o',
          styles:
            'border:1px solid #eeeeee;box-shadow:none;width:100%;.intercom-pointer-body{padding-bottom:0px;}',
        };
      const x = Object(r.c)('div', { target: 'e6at92b0' })(
          'width:272px;font-size:13px;margin:-8px;font-family:',
          Object(r.f)('fontSansSerif'),
          ';color:',
          Object(r.f)('bodyText'),
          ';',
          b.a.className,
          '{margin-bottom:',
          Object(r.f)('pointerFooterHeightPx'),
          'px;padding-bottom:16px;}',
          d.c.className,
          '{',
          b.a.className,
          '{margin-bottom:30px;padding-bottom:24px;.intercom-block-paragraph{margin-left:0px;margin-right:0px;}}}',
          c.a.className,
          '{height:55px;box-sizing:border-box;background-color:',
          Object(r.f)('white'),
          ';border-top:1px solid ',
          Object(r.f)('lightGrey4'),
          ';',
          m.a.className,
          '{width:45px;height:45px;font-size:24px;}}',
          g.c.className,
          '{padding:16px 24px 16px;}',
          ({ isInbox: e }) => e && v,
          ' ',
          ({ isScrolled: e }) =>
            e &&
            Object(r.b)(
              g.c.className,
              '{position:relative;z-index:',
              Object(a.m)(3),
              ';box-shadow:0 0 9px 0 rgba(0,0,0,0.3);}'
            ),
          ' ',
          ({ theme: e }) => e.isMobileSize && f
        ),
        y = Object(r.c)('span', { target: 'e6at92b1' })(
          'z-index:',
          Object(a.m)(3),
          ';position:absolute;cursor:pointer;top:0;right:-5px;width:72px;height:64px;&,&:hover{background-position:center;',
          Object(a.b)(i.a, l.a, '12px', '12px'),
          ';}'
        ),
        j = Object(r.c)('div', { target: 'e6at92b2' })(
          'padding:24px;padding-top:0px;> ',
          d.c.className,
          '{max-height:320px;border-radius:0 0 8px 8px;}',
          u.a.className,
          '{width:auto;margin:17px;}',
          p.b.className,
          '{box-shadow:inset 0 2px 0 0 ',
          Object(r.f)('cardBorderTopColor'),
          ';border:1px solid ',
          Object(r.f)('lightGrey8'),
          ';border-top:none;}',
          ({ intercomRepliesDisabled: e }) =>
            e &&
            Object(r.b)(
              d.c.className,
              '{',
              b.a.className,
              '{padding-bottom:0px;margin-bottom:0px;}}'
            )
        ),
        O = Object(r.c)('div', { target: 'e6at92b3' })(
          'border-top:1px solid ',
          Object(r.f)('lightGrey4'),
          ';width:100%;background-color:',
          Object(r.f)('white'),
          ';box-sizing:border-box;padding:16.5px 20px;color:',
          Object(r.f)('inputPlaceholder'),
          ';font-size:14px;border-radius:0 0 8px 8px;display:flex;flex:0 0 auto;flex-direction:row;cursor:pointer;&,span{cursor:pointer;}',
          h.a.className,
          '{fill:',
          Object(r.f)('inputPlaceholder'),
          ';margin-bottom:-3px;margin-right:8px;}'
        );
      var C = {
        name: 'z7c4mq',
        styles: 'opacity:1;bottom:0px;transition:opacity 0.16s,bottom 0.28s;visibility:visible;',
      };
      const w = Object(r.c)('div', { target: 'e6at92b4' })(
        'position:absolute;bottom:-20px;height:55px;left:0;right:0;opacity:0;visibility:hidden;',
        ({ isFooterVisible: e }) => e && C
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return f;
      }),
        n.d(t, 'b', function () {
          return v;
        }),
        n.d(t, 'c', function () {
          return x;
        }),
        n.d(t, 'a', function () {
          return y;
        }),
        n.d(t, 'd', function () {
          return O;
        });
      var r = n(461),
        a = n(463),
        o = n(551),
        i = n(528),
        s = n(502),
        l = n(490),
        c = n(489),
        d = n(531),
        p = n(491),
        u = n(517),
        m = n.n(u),
        h = n(518),
        b = n.n(h);
      var g = { name: '12c90sz', styles: 'text-size-adjust:100%;' };
      const f = Object(r.c)('div', { target: 'e12dv51w0' })(
          'z-index:',
          Object(a.m)(1),
          ';position:absolute;bottom:0;right:0;width:342px;background:',
          Object(r.f)('white'),
          ';border-radius:7px;font-size:13px;font-family:',
          Object(r.f)('fontSansSerif'),
          ';color:',
          Object(r.f)('bodyText'),
          ';overflow:hidden;',
          ({ theme: e }) => e.isMobileSize && g,
          ' ',
          ({ theme: e, isScrolled: t }) =>
            t &&
            Object(r.b)(
              p.c.className,
              '{position:relative;z-index:',
              Object(a.m)(3, e),
              ';box-shadow:0 0 9px 0 rgba(0,0,0,0.3);}'
            ),
          ' ',
          d.a.className,
          '{margin-bottom:',
          Object(r.f)('postFooterHeightPx'),
          'px;padding-bottom:16px;}&.intercom-message{&-enter{opacity:0;transform:translateY(20px);}&-enter-active{opacity:1;transform:translateY(0);transition:opacity ',
          '200ms',
          ',transform ',
          '200ms',
          ';}&-exit{opacity:1;transform:translateY(0);}&-exit-active{opacity:0;transform:translateY(20px);transition:opacity ',
          '200ms',
          ',transform ',
          '200ms',
          ';}}',
          o.a.className,
          '{box-shadow:none;border-radius:0;',
          i.c.className,
          ',',
          i.e.className,
          '{border-radius:0;}}'
        ),
        v = Object(r.c)('span', { target: 'e12dv51w1' })(
          'position:absolute;z-index:',
          Object(a.m)(3),
          ';top:0;right:0;width:72px;height:72px;outline-offset:-5px;background-position:center;',
          Object(a.b)(m.a, b.a, '12px', '12px')
        ),
        x = Object(r.c)('div', { target: 'e12dv51w2' })(
          'border-top:1px solid ',
          Object(r.f)('lightGrey2'),
          ';width:100%;background-color:',
          Object(r.f)('white'),
          ';box-sizing:border-box;padding:15px 25px;color:',
          Object(r.f)('inputPlaceholder'),
          ';font-size:14px;line-height:26px;&,span{cursor:text;}'
        ),
        y = Object(r.c)('div', { target: 'e12dv51w3' })(
          s.c.className,
          '{max-height:320px;border-radius:0 0 8px 8px;}a{color:',
          Object(r.f)('linkColor'),
          ';}',
          c.a.className,
          '{width:280px;margin:16px auto;}',
          l.b.className,
          '{',
          a.e,
          '}',
          ({ showReplyToButton: e }) =>
            e && Object(r.b)('.intercom-scrollable{', d.a.className, '{padding-bottom:30px;}}')
        );
      var j = {
        name: 'kt434e',
        styles: 'opacity:1;bottom:0;transition:opacity 0.16s,bottom 0.28s;visibility:visible;',
      };
      const O = Object(r.c)('div', { target: 'e12dv51w4' })(
        'position:absolute;bottom:-20px;left:0;right:0;opacity:0;visibility:hidden;',
        ({ isFooterVisible: e }) => e && j,
        ' ',
        ({ theme: e, showReplyToButton: t }) =>
          t && Object(r.b)('text-align:center;background:', e.white, ';')
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return s;
      }),
        n.d(t, 'a', function () {
          return l;
        });
      var r = n(461),
        a = n(463),
        o = n(490),
        i = n(489);
      const s = Object(r.c)('div', { target: 'e8bmhyr0' })(
          'background-color:',
          Object(r.f)('white'),
          ';font-size:13px;color:black;border:1px solid ',
          Object(r.f)('lightGrey8'),
          ';border-radius:4px;position:relative;overflow:hidden;'
        ),
        l = Object(r.c)('div', { target: 'e8bmhyr1' })(
          'padding:0 24px 24px 24px;a{color:',
          Object(r.f)('linkColor'),
          ';}',
          i.a.className,
          '{margin:16px auto;}',
          o.b.className,
          '{',
          a.e,
          '}'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return s;
      }),
        n.d(t, 'a', function () {
          return l;
        });
      var r = n(461),
        a = n(463),
        o = n(490),
        i = {
          name: 'lg3jsh',
          styles:
            "&:after{position:absolute;opacity:1;transition:opacity ease 100ms;bottom:0;right:0;left:0;height:60px;content:' ';background:linear-gradient(to top,white 30%,rgba(255,255,255,0));border-radius:0 0 5px 5px;@media (-ms-high-contrast:active){display:none;}}",
        };
      const s = Object(r.c)('div', { target: 'e1d9qmys0' })(
          'background-color:',
          Object(r.f)('white'),
          ';font-size:13px;color:',
          Object(r.f)('black'),
          ';border:1px solid ',
          Object(r.f)('lightGrey8'),
          ';border-radius:4px;position:relative;overflow:hidden;max-height:180px;transition:all 0.12s ease-out;&:hover{box-shadow:',
          Object(r.f)('cardsHoverShadow'),
          ';transform:translateY(-2px);}&,*{cursor:pointer;}',
          ({ isTruncated: e }) => e && i,
          ' ',
          o.b.className,
          '{',
          a.e,
          '}'
        ),
        l = Object(r.c)('div', { target: 'e1d9qmys1' })(
          'padding:0 24px 17px;a{color:',
          Object(r.f)('linkColor'),
          ';}'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return p;
      }),
        n.d(t, 'b', function () {
          return u;
        }),
        n.d(t, 'a', function () {
          return m;
        });
      var r = n(461),
        a = n(463),
        o = n(530),
        i = n(502),
        s = n(490),
        l = n(489),
        c = n(531),
        d = n(491);
      const p = Object(r.c)('div', { target: 'ebkmurr0' })(
          'z-index:',
          Object(a.m)(2),
          ';font-size:13px;padding:0;margin:-8px;font-family:',
          Object(r.f)('fontSansSerif'),
          ';color:',
          Object(r.f)('bodyText'),
          ';',
          o.e.className,
          '{font-size:14px;}',
          c.a.className,
          '{padding-bottom:16px;}',
          d.c.className,
          '{padding:16px 24px 16px;}',
          ({ theme: e, scrolled: t }) =>
            t &&
            Object(r.b)(
              d.c.className,
              '{position:relative;z-index:',
              Object(a.m)(3, e),
              ';box-shadow:0 0 9px 0 rgba(0,0,0,0.3);}'
            ),
          ' ',
          ({ isPointer: e, pointerSize: t }) =>
            e &&
            Object(r.b)(
              'width:',
              void 0 === t || 0 === t ? 272 : 544,
              'px;',
              o.d.className,
              '{width:calc(100% - 24px);}'
            ),
          ' ',
          ({ isPost: e }) =>
            e &&
            Object(r.b)(
              '.intercom-block-paragraph{font-size:14px;}',
              u.className,
              '{> ',
              i.c.className,
              '{max-height:500px;}}'
            )
        ),
        u = Object(r.c)('div', { target: 'ebkmurr1' })(
          'padding-top:0px;margin-top:',
          ({ hasAuthor: e }) => (e ? '0px' : '20px'),
          ';& > ',
          i.c.className,
          '{max-height:320px;}',
          l.a.className,
          '{margin:16px auto;width:230px;}',
          s.b.className,
          '{box-shadow:inset 0 2px 0 0 ',
          Object(r.f)('cardBorderTopColor'),
          ';border:1px solid ',
          Object(r.f)('lightGrey8'),
          ';border-top:none;}'
        ),
        m = Object(r.c)('span', { target: 'ebkmurr2' })(
          'z-index:',
          Object(a.m)(3),
          ';cursor:pointer;position:absolute;padding:8px;top:18px;right:16px;width:12px;height:12px;svg > g > g{fill:',
          Object(r.f)('lightGrey9'),
          ';}'
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(500),
        i = n(692),
        s = n(579);
      class user_avatar_UserAvatar extends r.PureComponent {
        getAvatarLabel() {
          const { firstName: e } = this.props.user;
          return `${e || 'User'} profile`;
        }
        render() {
          const { size: e } = this.props,
            { initial: t } = this.props.user;
          return t
            ? a.a.createElement(
                s.a,
                {
                  'size': e,
                  'initial': !0,
                  'user': !0,
                  'role': 'img',
                  'aria-label': this.getAvatarLabel(),
                },
                t
              )
            : null;
        }
      }
      n.d(t, 'a', function () {
        return author_avatar_AuthorAvatar;
      });
      class author_avatar_AuthorAvatar extends r.PureComponent {
        renderTeamAvatar(e) {
          return a.a.createElement(i.a, { admins: e });
        }
        renderAdminAvatar(e) {
          return a.a.createElement(o.a, { admin: e, size: this.props.size });
        }
        renderUserAvatar(e) {
          return a.a.createElement(user_avatar_UserAvatar, { user: e, size: this.props.size });
        }
        render() {
          const e = this.props.author;
          switch (e.type) {
            case 'team':
              return this.renderTeamAvatar(e.admins);
            case 'admin':
              return this.renderAdminAvatar(e);
            case 'user':
              return this.renderUserAvatar(e);
            default:
              return this.renderAdminAvatar(e);
          }
        }
      }
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      }),
        n.d(t, 'b', function () {
          return s;
        }),
        n.d(t, 'c', function () {
          return l;
        }),
        n.d(t, 'd', function () {
          return c;
        }),
        n.d(t, 'e', function () {
          return u;
        }),
        n.d(t, 'f', function () {
          return m;
        });
      var r = n(1),
        a = n(81),
        o = n(82);
      const i = Object(r.createSelector)(
          (e) => e.article || {},
          (e) => e.articles || {},
          (e, t) => t[e.activeArticleId]
        ),
        s = (e) => e.article.inSearchBrowse && e.article.activeArticleId,
        l = Object(r.createSelector)(
          (e) => e.article.isExpanded,
          i,
          s,
          o.c,
          a.b,
          (e, t, n, r, a) => !a && e && null !== t && n && r
        ),
        c = Object(r.createSelector)(i, s, (e, t) => (t ? e : null)),
        d = (e) => e.article.isLoaded,
        p = Object(r.createSelector)(
          (e) => !!e.article.expansionTransitionComplete,
          a.b,
          (e, t) => !(!t && !e)
        ),
        u = Object(r.createSelector)(d, p, (e, t) => e && t),
        m = Object(r.createSelector)(d, p, (e, t) => !e && t);
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      });
      var r = n(461),
        a = n(647);
      const o = Object(r.c)(a.a, { target: 'e1k7f7390' })({
        name: '8atqhb',
        styles: 'width:100%;',
      });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return i;
      }),
        n.d(t, 'a', function () {
          return s;
        });
      var r = n(461),
        a = n(463),
        o = n(159);
      const i = Object(r.c)('div', { target: 'eoau2rn0' })(
          'position:relative;background-color:',
          Object(r.f)('white'),
          ';border-radius:3px;font-size:14px;line-height:1.5;color:',
          Object(r.f)('bodyText'),
          ';',
          a.c,
          ' transition:height ',
          o.b,
          'ms ',
          o.a,
          ';',
          ({ theme: e }) => e.isPrimaryColorLight && a.d,
          ' @media (-ms-high-contrast:active){border:1px solid white;}'
        ),
        s = Object(r.c)('div', { target: 'eoau2rn1' })({ name: 'za61kl', styles: 'height:71px;' });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return a;
      }),
        n.d(t, 'c', function () {
          return o;
        }),
        n.d(t, 'a', function () {
          return i;
        });
      var r = n(461);
      const a = Object(r.c)('div', { target: 'e15osehw0' })(
          'box-sizing:border-box;position:relative;background-color:',
          Object(r.f)('white'),
          ';border-radius:4px;font-size:13px;line-height:1.5;width:100%;min-height:0;'
        ),
        o = Object(r.c)('div', { target: 'e15osehw1' })({
          name: 'dhtp42',
          styles: 'padding:24px 24px 16px 24px;white-space:nowrap;',
        }),
        i = Object(r.c)('div', { target: 'e15osehw2' })({
          name: '1dvc4lw',
          styles: 'display:inline-block;vertical-align:middle;margin-right:16px;',
        });
    },
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return a;
      }),
        n.d(t, 'b', function () {
          return o;
        }),
        n.d(t, 'a', function () {
          return i;
        });
      var r = n(161);
      const a = (e, t) => Object(r.tinycolor)(e).lighten(t).toHexString(),
        o = (e, t) => Object(r.tinycolor)(e).darken(t).toHexString(),
        i = (e, t) =>
          Object(r.tinycolor)(e)
            .setAlpha(Math.min(Math.max(t, 0), 1))
            .toRgbString();
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return s;
      });
      var r = n(460),
        a = n.n(r),
        o = n(161),
        i = n.n(o);
      const s = a.a.createContext(null),
        l = (e) => {
          const [t, n] = Object(r.useState)(
            i()({
              primaryColor: e.primaryColor,
              secondaryColor: e.secondaryColor,
              darkenAmount: 20,
            })
          );
          Object(r.useEffect)(() => {
            n(
              i()({
                primaryColor: e.primaryColor,
                secondaryColor: e.secondaryColor,
                darkenAmount: 20,
              })
            );
          }, [e.primaryColor, e.secondaryColor]);
          const o = {
            isPrimaryColorLight: 'light' === t.primary_type,
            isSecondaryColorLight: 'light' === t.secondary_type,
            isPrimaryColorReadable: t.primary_on_white_contrast > 1.2,
            primaryColor: e.primaryColor,
            secondaryColor: e.secondaryColor,
            alignment: e.alignment,
            horizontalPadding: e.horizontalPadding,
            verticalPadding: e.verticalPadding,
            gradientStartColor: t.gradient_start_color,
            gradientEndColor: t.gradient_end_color,
            cardBorderTopColor: t.card_border_top_color,
            avatarBackgroundColor: t.avatar_background_color,
            buttonBackgroundColor: t.button_background_color,
            buttonBackgroundColorHover: t.button_background_color_hover,
            buttonBackgroundColorActive: t.button_background_color_active,
            primaryOnWhiteContrast: t.primary_on_white_contrast,
            secondaryOnWhiteContrast: t.secondary_on_white_contrast,
            headerTitleColor: t.header_title_color,
            headerTextColor: t.header_text_color,
            buttonTextColor: t.button_text_color,
            linkColor: t.link_color,
            linkColorHover: t.link_color_hover,
            linkColorActive: t.link_color_active,
            primaryType: t.primary_type,
            secondaryType: t.secondary_type,
            quickReplyTextColor: t.quick_reply_text_color,
            quickReplyBackgroundColor: t.quick_reply_background_color,
          };
          return a.a.createElement(s.Provider, { value: o }, e.children);
        };
      (l.defaultProps = { primaryColor: '#0074b0', secondaryColor: '#0074b0' }), (t.b = l);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return CrossOriginFrame;
      });
      var r = n(460),
        a = n.n(r),
        o = n(493),
        i = n(537),
        s = n(26),
        l = n(17);
      function c(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class CrossOriginFrame extends r.Component {
        constructor(...e) {
          super(...e),
            c(this, 'unmounted', !1),
            c(this, 'state', { delayRender: !0, frameName: null });
        }
        componentDidMount() {
          this.postCreateOrUpdateFrameMessage();
        }
        componentWillUnmount() {
          Object(s.e)(this.props.name), (this.unmounted = !0);
        }
        componentDidUpdate(e) {
          e.name !== this.props.name && Object(s.e)(e.name),
            e.styles !== this.props.styles && this.postCreateOrUpdateFrameMessage();
        }
        postCreateOrUpdateFrameMessage() {
          const { name: e, styles: t } = this.props;
          Object(s.c)(e, t, ({ frameName: e }) => {
            this.unmounted || this.setState({ frameName: e });
          });
        }
        getFrameWindow() {
          const { frameName: e } = this.state;
          if (!e) return null;
          try {
            return window.top.frames[e];
          } catch (e) {
            return null;
          }
        }
        render() {
          const e = this.getFrameWindow();
          if (!e) return null;
          const { document: t } = e,
            { delayRender: n } = this.state;
          return n
            ? (Object(l.g)(() => {
                this.unmounted || this.setState({ delayRender: !1 });
              }),
              null)
            : Object(o.createPortal)(
                a.a.createElement(
                  'div',
                  { tabIndex: '-1', role: 'region' },
                  a.a.createElement(i.a, { target: t.head }, this.props.children)
                ),
                t.body
              );
        }
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return Scrollable;
      });
      var r = n(460),
        a = n.n(r),
        o = n(21),
        i = n(549),
        s = n(502),
        l = n(467);
      function c(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class Scrollable extends r.Component {
        constructor(...e) {
          super(...e),
            c(this, 'state', { scrollable: !1, scrolled: !1 }),
            c(this, 'scrollable', void 0),
            c(this, 'handleHeightChange', () => {
              this.setState({ scrollable: this.isScrollable() }),
                this.props.onScrollable &&
                  this.scrollable &&
                  this.props.onScrollable(this.scrollable, this.state.scrollable);
            }),
            c(
              this,
              'handleScroll',
              Object(i.b)((e) => {
                const { scrollTop: t } = e.target;
                this.setState({ scrolled: t > 0 });
                const { onScroll: n } = this.props;
                n && n(e);
              }, 17)
            );
        }
        componentDidUpdate(e) {
          e.defaultScrollPosition !== this.props.defaultScrollPosition &&
            this.props.defaultScrollPosition &&
            this.scrollable &&
            (this.scrollable.scrollTop = this.props.defaultScrollPosition),
            this.handleScrollable();
        }
        componentDidMount() {
          this.handleScrollable(),
            this.props.defaultScrollPosition &&
              this.scrollable &&
              (this.scrollable.scrollTop = this.props.defaultScrollPosition);
        }
        handleScrollable() {
          const { onScrollable: e } = this.props;
          !this.state.scrollable &&
            this.isScrollable() &&
            (this.setState({ scrollable: !0 }),
            this.scrollable && e && e(this.scrollable, this.state.scrollable));
        }
        isScrollable() {
          return !!this.scrollable && this.scrollable.scrollHeight > this.scrollable.clientHeight;
        }
        render() {
          const { dynamicChildrenHeight: e } = this.props;
          return a.a.createElement(
            s.c,
            {
              className: 'intercom-scrollable',
              isInsideModal: this.props.isInsideModal,
              flex: this.props.flex,
              onScroll: this.handleScroll,
              onWheel: o.d,
              tabIndex: this.state.scrollable ? '0' : '-1',
              ref: (e) => (this.scrollable = e),
            },
            e
              ? a.a.createElement(
                  l.b,
                  { onHeightChange: this.handleHeightChange },
                  a.a.createElement(a.a.Fragment, null, this.props.children)
                )
              : this.props.children
          );
        }
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return AuthoredContainer;
      });
      var r,
        a,
        o,
        i = n(460),
        s = n.n(i),
        l = n(587),
        c = n(485),
        d = n(491);
      class AuthoredContainer extends i.Component {
        renderAuthorAvatarAndSummary() {
          const {
            appName: e,
            author: t,
            isReplyStyle: n,
            lastActiveAt: r,
            isActive: a,
          } = this.props;
          return t
            ? s.a.createElement(
                s.a.Fragment,
                null,
                s.a.createElement(d.a, null, s.a.createElement(c.a, { author: t })),
                s.a.createElement(l.a, {
                  author: t,
                  appName: e,
                  isReplyStyle: n,
                  lastActiveAt: r,
                  isActive: a,
                })
              )
            : null;
        }
        render() {
          return s.a.createElement(
            d.b,
            { className: 'intercom-authored-container' },
            s.a.createElement(d.c, null, this.renderAuthorAvatarAndSummary()),
            this.props.children
          );
        }
      }
      (o = { isReplyStyle: !1 }),
        (a = 'defaultProps') in (r = AuthoredContainer)
          ? Object.defineProperty(r, a, {
              value: o,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (r[a] = o);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return l;
      });
      var r = n(460),
        a = n.n(r),
        o = n(513);
      const i = { opacity: 0 },
        s = { opacity: 1 };
      function l(e) {
        const { children: t, duration: n, keys: l } = e,
          c = Object(r.useRef)(null),
          [d, p] = Object(r.useState)(null);
        return (
          Object(r.useEffect)(() => {
            t ? (clearTimeout(c.current), p(t)) : (c.current = setTimeout(() => p(null), n || 0));
          }, [t, n]),
          Object(r.useEffect)(() => () => clearTimeout(c.current), []),
          Object(o.useTransition)(t, l, {
            from: i,
            enter: s,
            leave: i,
            config: { duration: n },
            immediate: !1,
          }).map(({ item: e, props: n, key: r }) =>
            e
              ? 'function' == typeof e
                ? e({ style: n, key: r })
                : a.a.createElement(o.animated.div, { style: n, key: r }, d || t)
              : null
          )
        );
      }
      l.defaultProps = { duration: 200, keys: null };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return Avatar;
      });
      var r = n(460),
        a = n.n(r),
        o = n(579),
        i = n(217);
      function s(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class Avatar extends r.PureComponent {
        constructor(...e) {
          super(...e),
            s(this, 'state', { imageErrored: !1 }),
            s(this, 'handleBrokenImage', () => {
              this.setState({ imageErrored: !0 });
            });
        }
        initialFromFirstName() {
          const { firstName: e } = this.props.admin;
          if (e) return e.slice(0, 1).toUpperCase();
        }
        renderImage() {
          const { size: e } = this.props,
            { avatar: t } = this.props.admin,
            n =
              Object(i.c)() && t.square128 && !t.square128.startsWith('http://')
                ? `${i.a.api_base}${t.square128}`
                : t.square128;
          return a.a.createElement(
            o.a,
            { size: e },
            a.a.createElement('img', {
              src: n,
              alt: this.getAvatarLabel(),
              onError: this.handleBrokenImage,
            })
          );
        }
        getAvatarLabel() {
          const { firstName: e } = this.props.admin;
          return `${e || 'Teammate'} profile`;
        }
        renderInitial() {
          const { size: e } = this.props,
            { initial: t } = this.props.admin;
          return a.a.createElement(
            o.a,
            { 'initial': !0, 'role': 'img', 'aria-label': this.getAvatarLabel(), 'size': e },
            t || this.initialFromFirstName()
          );
        }
        render() {
          const { avatar: e } = this.props.admin;
          return e && e.square128 && !this.state.imageErrored
            ? this.renderImage()
            : this.renderInitial();
        }
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'f', function () {
        return i;
      }),
        n.d(t, 'e', function () {
          return s;
        }),
        n.d(t, 'd', function () {
          return l;
        }),
        n.d(t, 'c', function () {
          return c;
        }),
        n.d(t, 'a', function () {
          return p;
        }),
        n.d(t, 'b', function () {
          return u;
        });
      var r = n(39);
      const a = { s: 1e3, m: 60, h: 60, d: 24, w: 7 };
      function o(e) {
        const t = Date.now();
        let n = new Date(t) - e;
        n = Math.max(0, n);
        let r = 's';
        for (const e in a) {
          if (n < a[e]) break;
          (r = e), (n /= a[e]);
        }
        return (n = Math.floor(n)), { unit: r, delta: n };
      }
      function i(e) {
        if (!e) return '';
        if (
          !(function (e) {
            return 'Invalid Date' !== e.toString();
          })(e)
        )
          return '';
        const { unit: t, delta: n } = o(e);
        return 's' === t
          ? Object(r.e)('time_just_now')
          : 'm' === t
          ? Object(r.e)('time_minute_ago', { delta: n })
          : 'h' === t
          ? Object(r.e)('time_hour_ago', { delta: n })
          : 'd' === t
          ? Object(r.e)('time_day_ago', { delta: n })
          : 'w' === t
          ? Object(r.e)('time_week_ago', { delta: n })
          : void 0;
      }
      function s(e) {
        const { unit: t, delta: n } = o(e);
        return 's' === t || ('m' === t && n <= 15)
          ? Object(r.e)('updated_in_the_last_15m')
          : 'm' === t
          ? Object(r.e)('updated_in_the_last_hour')
          : 'h' === t
          ? Object(r.e)('updated_today')
          : 'd' === t && 1 === n
          ? Object(r.e)('updated_yesterday')
          : 'd' === t
          ? Object(r.e)('updated_this_week')
          : Object(r.e)('updated_over_a_week_ago');
      }
      function l(e) {
        const t = (new Date().getTime() - e.getTime()) / 6e4;
        if (t <= 15) return Object(r.e)('active_15m_ago', { minutes: 15 });
        if (t <= 37) return Object(r.e)('active_minute_ago', { minutes: 30 });
        if (t <= 52) return Object(r.e)('active_minute_ago', { minutes: 45 });
        if (t <= 90) return Object(r.e)('active_hour_ago', { hours: 1 });
        if (t <= 1410) {
          const e = Math.round((t - 1) / 60);
          return Object(r.e)('active_hour_ago', { hours: e });
        }
        if (t <= 1470) return Object(r.e)('active_day_ago', { days: 1 });
        if (t <= 8640) {
          const e = Math.round((t - 1) / 1440);
          return Object(r.e)('active_day_ago', { days: e });
        }
        return Object(r.e)('active_week_ago');
      }
      function c(e, t) {
        return e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
      }
      const d = (e) => `00${e}`.substr(-2);
      function p(e) {
        if (!e) return null;
        if ('en' !== Object(r.a)()) return `${d(e.getHours())}:${d(e.getMinutes())}`;
        let t = e.getHours();
        return (
          0 === t && (t = 12),
          (t = t > 12 ? t % 12 : t),
          `${t}:${d(e.getMinutes())} ${e.getHours() < 12 ? 'am' : 'pm'}`
        );
      }
      function u(e, t) {
        const n = e.valueOf() + 60 * e.getTimezoneOffset() * 1e3;
        return p(new Date(n + 1e3 * t));
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return o;
      }),
        n.d(t, 'a', function () {
          return s;
        }),
        n.d(t, 'd', function () {
          return l;
        }),
        n.d(t, 'b', function () {
          return c;
        });
      var r = n(461),
        a = { name: 'b95f0i', styles: 'display:flex;flex-direction:column;flex:1;' };
      const o = Object(r.c)('div', { target: 'et8by2b0' })(
        '-webkit-overflow-scrolling:touch;position:relative;max-height:100%;overflow-y:auto;overflow-x:hidden;outline-offset:-5px;',
        ({ flex: e }) => e && a,
        ' ',
        ({ isInsideModal: e, theme: t }) =>
          e && Object(r.b)('width:100%;flex-grow:1;a{color:', t.linkColor, ';}')
      );
      var i = { name: 'ad9uq9', styles: 'border-top:0px;' };
      const s = Object(r.c)('div', { target: 'et8by2b1' })(
          'display:flex;flex:1;flex-direction:column;box-sizing:border-box;overflow:hidden;height:100%;position:relative;border-top:1px solid ',
          Object(r.f)('lightGrey10'),
          ';',
          (e) => e.hideBorder && i,
          ' .intercom-drop-shadow-fade{&-enter{opacity:0;}&-enter-active{opacity:1;transition:opacity 150ms ease-in-out;}&-exit{opacity:1;}&-exit-active{opacity:0;transition:opacity 150ms ease-in-out;}}'
        ),
        l = Object(r.c)('div', { target: 'et8by2b2' })({
          name: 'ojtruv',
          styles:
            'position:absolute;box-shadow:inset 0 21px 4px -20px rgba(0,0,0,0.2);width:100%;height:10px;pointer-events:none;z-index:100;',
        }),
        c = Object(r.c)('div', { target: 'et8by2b3' })(
          'position:absolute;bottom:0;pointer-events:none;height:36px;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,#ffffff 100%);width:100%;',
          (e) => e.hideBottomShadow && '\n      display: none;\n    '
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(462),
        a = n(460),
        o = n(162),
        i = n.n(o),
        s = n(9),
        l = n(21);
      const c = ['mousemove', 'click', 'keyup', 'focus'],
        d = ['blur'];
      let p = 5e3,
        u = 0;
      function m(e, t, n) {
        const { document: r } = e;
        let a = !1;
        const o = i()(() => {
            (u = Date.now()), a || (t(), (a = !0));
          }, 1e3),
          m = () => {
            a && (n(), (a = !1));
          },
          g = () => {
            !(function (e) {
              return !s.a.hasVisibilitySupport() || l.q(e);
            })(r)
              ? m()
              : o();
          };
        h(c, r, o),
          h(d, e, m),
          (function (e, t) {
            if (!s.a.hasVisibilitySupport()) return;
            const n = l.n();
            if (!n) return;
            l.c(e, n, t);
          })(r, g);
        const f = setInterval(() => {
          const e = Date.now() - u;
          !a || e < p || m();
        }, p);
        return () => {
          b(c, r, o),
            b(d, e, m),
            (function (e, t) {
              if (!s.a.hasVisibilitySupport()) return;
              const n = l.n();
              if (!n) return;
              l.y(e, n, t);
            })(r, g),
            clearInterval(f);
        };
      }
      function h(e, t, n) {
        e.forEach((e) => l.c(t, e, n));
      }
      function b(e, t, n) {
        e.forEach((e) => l.y(t, e, n));
      }
      var g = n(33),
        f = n(27),
        v = n(5);
      function x(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class user_presence_UserPresence extends a.Component {
        constructor(...e) {
          super(...e),
            x(this, 'stop', void 0),
            x(this, 'hadAnonymousId', !1),
            x(this, 'onUserPresent', () => {
              this.props.onUserPresent(), this.checkIfSessionHasChanged();
            });
        }
        componentDidMount() {
          const { appWindow: e, onUserAbsent: t } = this.props;
          Object(v.a)() ? this.onUserPresent() : (this.stop = m(e, this.onUserPresent, t));
        }
        componentWillUnmount() {
          Object(v.a)() || this.stop();
        }
        checkIfSessionHasChanged() {
          this.props.session &&
            this.props.session.appId &&
            (this.checkIfCookiesHasBeenDestroyed(), this.checkIfAnonymousSessionHasBeenChanged());
        }
        checkIfAnonymousSessionHasBeenChanged() {
          if (!this.props.session) return;
          const { appId: e, anonymousSession: t } = this.props.session,
            n = g.a.read(Object(f.b)(e));
          n && t !== n && this.props.onAnonymousSessionChanged(n);
        }
        checkIfCookiesHasBeenDestroyed() {
          const { session: e, destroySession: t } = this.props;
          if (!e || !t) return;
          const { appId: n } = e,
            r = g.a.read(Object(f.a)(n));
          if (!r && this.hadAnonymousId) return t(!0);
          this.hadAnonymousId = !!r;
        }
        render() {
          return null;
        }
      }
      var y = n(58);
      t.a = Object(r.connect)(
        (e) => {
          const { session: t } = e;
          return { session: t };
        },
        (e) => ({
          onUserPresent: () => {
            e(Object(y.f)());
          },
          onUserAbsent: () => {
            e(Object(y.e)());
          },
          onAnonymousSessionChanged: (t) => {
            e(Object(y.a)(t));
          },
        })
      )(user_presence_UserPresence);
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'h', function () {
        return i;
      }),
        n.d(t, 'a', function () {
          return l;
        }),
        n.d(t, 'g', function () {
          return d;
        }),
        n.d(t, 'b', function () {
          return p;
        }),
        n.d(t, 'c', function () {
          return u;
        }),
        n.d(t, 'i', function () {
          return m;
        }),
        n.d(t, 'e', function () {
          return b;
        }),
        n.d(t, 'd', function () {
          return g;
        }),
        n.d(t, 'f', function () {
          return v;
        }),
        n.d(t, 'j', function () {
          return x;
        });
      var r = n(461),
        a = n(477),
        o = { name: 'j4glon', styles: 'padding:16px 24px;margin:0 -24px;' };
      const i = Object(r.c)('div', { target: 'ec1npt30' })(
        'display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;align-content:stretch;position:relative;padding:24px;outline-offset:-5px;',
        ({ isUnread: e, theme: t }) =>
          e &&
          Object(r.b)(
            'background-color:',
            t.isPrimaryColorLight ? t.unreadBackgroundLight : t.unreadBackground,
            ';'
          ),
        ' &,*{cursor:pointer;}&:hover{background:',
        Object(r.f)('backgroundHover'),
        ";}&:after{content:'';position:absolute;height:100%;left:0;right:0;top:0;border-top:1px solid ",
        Object(r.f)('dividerBorder'),
        ';',
        ({ isUnread: e, theme: t }) => e && Object(r.b)('border-top:1px solid ', t.white, ';'),
        "}&:before{content:'';position:absolute;height:100%;left:0;right:0;top:0;border-top:2px solid transparent;}&:first-of-type{&:after{border-top:none;}}&:last-child{&:after{border-bottom:1px solid ",
        Object(r.f)('dividerBorder'),
        ';',
        ({ isUnread: e, theme: t }) => e && Object(r.b)('border-bottom:1px solid ', t.white, ';'),
        '}}',
        ({ isCompact: e }) => e && o
      );
      var s = { name: '1dhi8d0', styles: 'left:15px;' };
      const l = Object(r.c)('div', { target: 'ec1npt31' })(
        'flex:0 0 auto;',
        ({ isCompact: e }) => e && s
      );
      var c = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const d = Object(r.c)('div', { target: 'ec1npt32' })(
          'font-size:14px;margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;',
          ({ theme: e }) => Object(r.b)('color:', e.subheaderText, ';'),
          ' ',
          ({ isCompact: e }) => e && c,
          ' ',
          ({ isUnread: e, theme: t }) =>
            e && Object(r.b)('color:', t.summaryText, ';font-weight:600;')
        ),
        p = Object(r.c)('div', { target: 'ec1npt33' })({
          name: '7sdh8r',
          styles: 'flex:1;padding-left:16px;padding-right:8px;min-width:0;',
        }),
        u = Object(r.c)('div', { target: 'ec1npt34' })(
          'transform:rotate(',
          r.f.isRtlLocale ? '0' : '180deg',
          ');& svg > g > g{fill:',
          Object(r.f)('linkColor'),
          ';}'
        ),
        m = Object(r.c)('span', { target: 'ec1npt35' })({
          name: '15fzge',
          styles: 'margin-left:4px;',
        });
      var h = { name: '35ezg3', styles: 'font-weight:600;' };
      const b = Object(r.c)('div', { target: 'ec1npt36' })(
          'color:rgba(58,60,76,1);font-size:13px;display:flex;',
          ({ isUnread: e }) => e && h,
          ' span{display:inline-block;}'
        ),
        g = Object(r.c)('span', { target: 'ec1npt37' })(
          'flex:0 0 auto;color:',
          Object(r.f)('black'),
          ';white-space:pre;'
        );
      var f = { name: '1msjh1x', styles: 'font-style:italic;' };
      const v = Object(r.c)(a.a, { target: 'ec1npt38' })(
          'white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:',
          Object(r.f)('black'),
          ';',
          ({ isSingleBlock: e }) => e && f
        ),
        x = Object(r.c)('span', { target: 'ec1npt39' })(
          'position:absolute;background-color:',
          Object(r.f)('unreadDot'),
          ";width:6px;height:6px;border-radius:50%;content:'';left:9px;top:calc(50% - 3px);"
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(460),
        a = n.n(r),
        o = n(586);
      function i(e) {
        return a.a.createElement(
          o.a,
          null,
          a.a.createElement(o.b, { role: 'alert' }, e.errorMessage)
        );
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return i;
      }),
        n.d(t, 'a', function () {
          return p;
        });
      var r = n(461),
        a = n(463);
      var o = { name: '1ugw98p', styles: 'bottom:-1px;/* @noflip */ margin-left:0;' };
      const i = Object(r.c)('div', { target: 'e28em7w0' })(
        'display:none;',
        ({ theme: e }) =>
          e.tabNavigation &&
          Object(r.b)(
            'display:inline-block;position:absolute;font-size:12px;color:',
            e.grey,
            ';bottom:-17px;/* @noflip */ margin-left:-15px;'
          ),
        ' ',
        ({ hasBody: e, isSingleBlock: t }) => (e || t) && o
      );
      var s = { name: '190lmxx', styles: '/* @noflip */ text-align:right;' },
        l = { name: '156vopp', styles: 'border-bottom-left-radius:0;' },
        c = { name: '4sjzg0', styles: 'video{border-radius:6px;}' },
        d = { name: 'bv69nn', styles: 'opacity:0.8;' };
      const p = Object(r.c)('div', { target: 'e28em7w1' })(
        ({ hasBody: e, isSingleBlock: t }) =>
          !t &&
          !e &&
          Object(r.b)(
            'padding:17px 20px;border-radius:',
            '5px',
            ';position:relative;display:inline-block;width:auto;max-width:75%;pre span{color:inherit !important;background-color:inherit !important;font-weight:inherit !important;word-wrap:break-word;}'
          ),
        ' ',
        ({ isSingleBlock: e, theme: t }) =>
          e &&
          Object(r.b)(
            '.intercom-image-progress{border-radius:',
            '5px',
            ';}.intercom-video-loading{background-color:',
            t.lightGrey8,
            ';}'
          ),
        ' ',
        ({ isFailed: e }) => e && d,
        ' ',
        ({ theme: e, isUser: t, isSingleBlock: n }) =>
          t &&
          !n &&
          Object(r.b)(
            'color:',
            e.white,
            ';a{color:',
            e.white,
            ';text-decoration:underline;}.intercom-block-attachment-list-icon svg > path{fill:',
            e.white,
            ';}'
          ),
        ' ',
        ({ theme: e, isAdmin: t, isSingleBlock: n }) =>
          t &&
          !n &&
          Object(r.b)('.intercom-block-attachment-list-icon svg > path{fill:', e.appColor, ';}'),
        ' ',
        ({ theme: e, isUser: t, isSingleBlock: n }) =>
          t &&
          !n &&
          e.isPrimaryColorLight &&
          Object(r.b)(
            'color:',
            e.black,
            ';border:1px solid ',
            e.lightGrey3,
            ';a{color:',
            e.black,
            ';text-decoration:underline;}'
          ),
        ' ',
        ({ theme: e, isUser: t, hasBody: n, isSingleBlock: a }) =>
          t &&
          !a &&
          !n &&
          Object(r.b)(
            'background-color:',
            e.appColor,
            ';/* @noflip */ float:right;.intercom-block-attachment-list > a{text-decoration:none;}'
          ),
        ' ',
        ({ theme: e, isAdmin: t, hasBody: n, isSingleBlock: a }) =>
          t &&
          !a &&
          !n &&
          Object(r.b)(
            'color:',
            e.bodyText,
            ';background-color:',
            e.adminCommentBackground,
            ';a{color:',
            e.linkColor,
            ';text-decoration:underline;}.intercom-block-attachment-list > a{text-decoration:none;}.intercom-block-button-container{margin-bottom:10px;}.intercom-block-button:hover{text-decoration:none;}'
          ),
        ' ',
        ({ theme: e, isAdmin: t, isUser: n, hasBody: a, isSingleBlock: o }) =>
          !t &&
          !n &&
          !a &&
          !o &&
          Object(r.b)(
            'color:',
            e.bodyText,
            ';background-color:',
            e.adminCommentBackground,
            ';a{color:',
            e.bodyText,
            ';text-decoration:underline;}.intercom-block-button-container{margin-bottom:10px;}.intercom-block-button:hover{text-decoration:none;}'
          ),
        ' ',
        ({ theme: e, isAdmin: t, isBorderless: n, hasBody: a, isSingleBlock: o }) =>
          t &&
          n &&
          !a &&
          !o &&
          Object(r.b)('background-color:', e.white, ';a{color:', e.subheaderText, ';}'),
        ' ',
        ({ hasBody: e, isSingleBlock: t, isBorderless: n, theme: a }) =>
          !t &&
          !e &&
          n &&
          Object(r.b)('box-shadow:', a.notificationBoxShadow, ';border-radius:6px;'),
        ' ',
        ({ isSingleBlock: e, isBorderless: t }) => e && t && c,
        ' ',
        ({ isSingleBlock: e, isBorderless: t, isAdmin: n, theme: a }) =>
          n && !e && t && Object(r.b)('color:', a.bodyText, ';'),
        ' ',
        ({ hasAvatar: e, isBorderless: t, isSingleBlock: n, hasBody: r }) =>
          t && e && !n && !r && l,
        ' ',
        ({ hasAvatar: e, isBorderless: t, isSingleBlock: n, hasBody: o }) =>
          t && e && !n && !o && Object(r.b)('border-bottom-left-radius:0;&:after{', a.g, '}'),
        ' @media (-ms-high-contrast:active){border:1px solid white;}',
        ({ theme: e }) => e.isRtlLocale && s
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return o;
      });
      var r = n(460),
        a = n.n(r);
      const o = {
        focusComposer: () => null,
        emptyComposer: () => null,
        onPartsHeightChange: () => null,
        subscribe(e, t) {
          o[e] = t;
        },
      };
      t.a = a.a.createContext(o);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'h', function () {
        return d;
      }),
        n.d(t, 'a', function () {
          return p;
        }),
        n.d(t, 'b', function () {
          return m;
        }),
        n.d(t, 'c', function () {
          return h;
        }),
        n.d(t, 'd', function () {
          return g;
        }),
        n.d(t, 'e', function () {
          return f;
        }),
        n.d(t, 'i', function () {
          return x;
        }),
        n.d(t, 'j', function () {
          return y;
        }),
        n.d(t, 'g', function () {
          return j;
        }),
        n.d(t, 'f', function () {
          return O;
        });
      var r = n(461),
        a = n(463),
        o = n(9);
      const i = Object(r.d)('0%{opacity:0;}70%{opacity:0;}100%{opacity:1;}'),
        s = (e) =>
          Object(r.b)(
            'position:relative;float:left;display:inline-block;cursor:pointer;opacity:0.8;transition:opacity 200ms ease;height:51px;margin-top:2px;&:hover{opacity:1;}&:before{position:absolute;top:20px;background-position:center;}svg{position:absolute;top:18px;}svg path{fill:',
            e.inputPlaceholder,
            ';}'
          );
      var l = { name: '1h3f2ms', styles: 'textarea:focus{box-shadow:none;}' },
        c = { name: '1r1aq4', styles: 'margin-bottom:56px;' };
      const d = Object(r.c)('div', { target: 'eoxa25q0' })(
          'position:absolute;bottom:0;left:0;right:0;min-height:56px;max-height:200px;border-top:1px solid ',
          Object(r.f)('composerBorder'),
          ';&:focus-within{',
          () => {
            if (Object(o.h)()) return c;
          },
          '}textarea,pre{box-sizing:border-box;padding:18px;padding-right:100px;padding-left:',
          29,
          'px;width:100%;height:100%;font-family:',
          Object(r.f)('fontSansSerif'),
          ';font-size:',
          14,
          'px;font-weight:',
          'normal',
          ';line-height:',
          1.33,
          ';background-color:',
          Object(r.f)('white'),
          ';white-space:pre;white-space:pre-wrap;word-wrap:break-word;}textarea{&::placeholder{color:',
          Object(r.f)('inputPlaceholder'),
          ';font-style:',
          Object(r.f)('fontSansSerif'),
          ';font-size:',
          14,
          'px;font-weight:',
          'normal',
          ';line-height:',
          1.33,
          ';}position:absolute;bottom:0;left:0;color:',
          Object(r.f)('black'),
          ';resize:none;border:none;transition:background-color ease 200ms,box-shadow ease 200ms;outline-offset:-5px;&:focus{background-color:',
          Object(r.f)('white'),
          ';box-shadow:0px 0px 100px 0px ',
          Object(r.f)('composerShadowColor'),
          ';}}pre{visibility:hidden;}',
          ({ theme: e, isBorderless: t }) =>
            t &&
            Object(r.b)(
              'position:relative;border-radius:',
              e.notificationBorderRadiusPx,
              'px;box-shadow:',
              e.notificationBoxShadow,
              ';border-top:none;animation:',
              i,
              ' 750ms ease;textarea,pre{padding-left:21px;border-radius:',
              e.notificationBorderRadiusPx,
              'px;}textarea:focus{box-shadow:none;}'
            ),
          ' ',
          ({ theme: e }) =>
            e.isMobileSize && Object(r.b)('textarea{background-color:', e.inputBackground, ';}'),
          ' ',
          ({ hasComposerSuggestionsLoading: e, hasComposerSuggestions: t }) => (e || t) && l,
          ' @media (-ms-high-contrast:active){border:1px solid white;}'
        ),
        p = Object(r.c)('div', { target: 'eoxa25q1' })(
          'position:absolute;top:0;right:',
          21,
          'px;',
          ({ isBorderless: e }) => e && Object(r.b)('right:', 24, 'px;')
        ),
        u = ({ theme: e, showEmojiPicker: t, isPrimaryColorReadable: n }) =>
          Object(r.b)(
            s(e),
            ' width:',
            18,
            'px;padding-left:',
            8,
            'px;padding-right:',
            8,
            'px;svg{height:18px;width:18px;}',
            t && Object(r.b)('svg path{fill:', n ? e.appColor : e.grey, ';}')
          ),
        m = Object(r.c)('button', { target: 'eoxa25q2' })(u),
        h = Object(r.c)('span', { target: 'eoxa25q3' })(u),
        b = ({ theme: e, showGifPicker: t, isPrimaryColorReadable: n }) =>
          Object(r.b)(
            s(e),
            ' width:',
            29,
            'px;padding-left:',
            8,
            'px;padding-right:',
            8,
            'px;svg{height:18px;}',
            t && Object(r.b)('svg path{fill:', n ? e.appColor : e.grey, ';}')
          ),
        g = Object(r.c)('button', { target: 'eoxa25q4' })(b),
        f = Object(r.c)('span', { target: 'eoxa25q5' })(b),
        v = ({ theme: e }) =>
          Object(r.b)(
            s(e),
            ' width:',
            18,
            'px;padding-left:',
            8,
            'px;padding-right:',
            8,
            'px;svg{height:18px;width:18px;}'
          ),
        x = Object(r.c)('div', { target: 'eoxa25q6' })(v),
        y = Object(r.c)('span', { target: 'eoxa25q7' })(v),
        j = Object(r.c)('button', { target: 'eoxa25q8' })(
          ({ theme: e }) => s(e),
          ' ',
          a.i,
          ' width:',
          15,
          'px;padding-left:',
          8,
          'px;padding-right:',
          8,
          'px;top:1px;svg{height:16px;width:15px;}',
          ({ theme: e, isPrimaryColorReadable: t }) =>
            Object(r.b)('svg path{fill:', t ? e.appColor : e.grey, ';}')
        ),
        O = Object(r.c)('span', { target: 'eoxa25q9' })({
          name: '1baulvz',
          styles: 'display:inline-block;',
        });
    },
    function (e, t, n) {
      'use strict';
      var r = n(73),
        a = n.n(r),
        o = n(527),
        i = n.n(o);
      const s = (e) => {
        const t = a()(e).replace('&nbsp;', '').trim();
        return i.a.isSupportedUnicode(t) || i.a.isSupportedAscii(t);
      };
      var l = n(41);
      n.d(t, 'c', function () {
        return c;
      }),
        n.d(t, 'a', function () {
          return d;
        }),
        n.d(t, 'b', function () {
          return p;
        });
      const c = (e) =>
          ('paragraph' === e.type && s(e.text)) ||
          ('html' === e.type && s(e.content)) ||
          ('rawContent' === e.type && s(e.content)),
        d = (e) => !!e && 1 === e.length && (Object(l.f)(e[0]) || c(e[0])),
        p = (e) => d(e) && Object(l.g)(e[0]);
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return FocusTrap;
      });
      var r = n(21);
      function a(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const o = () => !1,
        i = () => null;
      class FocusTrap {
        constructor({
          document: e,
          firstElement: t,
          lastElement: n,
          disableStartingTrap: s,
          disableEndingTrap: l,
          windowToTrapFocusWithin: c,
        }) {
          a(this, 'document', void 0),
            a(this, 'windowToTrapFocusWithin', void 0),
            a(this, 'firstElement', void 0),
            a(this, 'lastElement', void 0),
            a(this, 'disableStartingTrap', void 0),
            a(this, 'disableEndingTrap', void 0),
            a(this, 'focusableElements', null),
            a(this, 'handleWindowFocusTrap', () => {
              setTimeout(() => this.focusableElements && this.focusableElements[0].focus(), 1);
            }),
            a(this, 'handleFocusTrap', (e) => {
              const {
                focusableElements: t,
                firstElement: n,
                lastElement: a,
                disableEndingTrap: o,
                disableStartingTrap: i,
              } = this;
              if (!t || !t.length || e.keyCode !== r.a.TAB) return;
              const s = t[0],
                l = t[t.length - 1],
                c = e.shiftKey;
              return l !== e.srcElement || c || o()
                ? s === e.srcElement && c && !i()
                  ? (e.preventDefault(), (a() || l).focus())
                  : void 0
                : (e.preventDefault(), (n() || s).focus());
            }),
            (this.document = e),
            (this.firstElement = t || i),
            (this.lastElement = n || i),
            (this.disableStartingTrap = s || o),
            (this.disableEndingTrap = l || o),
            (this.windowToTrapFocusWithin = c),
            (this.focusableElements = Object(r.i)(this.document)),
            Object(r.c)(this.document, 'keydown', this.handleFocusTrap),
            this.windowToTrapFocusWithin &&
              Object(r.c)(this.windowToTrapFocusWithin, 'blur', this.handleWindowFocusTrap);
        }
        recalculateFocusableElements() {
          this.focusableElements = Object(r.i)(this.document);
        }
        restore() {
          this.document && Object(r.y)(this.document, 'keydown', this.handleFocusTrap),
            this.windowToTrapFocusWithin &&
              Object(r.y)(this.windowToTrapFocusWithin, 'blur', this.handleWindowFocusTrap);
        }
      }
    },
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(460);
      function a(e) {
        const t = Object(r.useRef)();
        return (
          Object(r.useEffect)(() => {
            t.current = e;
          }),
          t.current
        );
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return TextComponent;
      });
      var r = n(460),
        a = n.n(r),
        o = n(488),
        i = n.n(o),
        s = n(826),
        l = n(644);
      function c(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function d(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? c(Object(n), !0).forEach(function (t) {
                p(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : c(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function p(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class TextComponent extends r.PureComponent {
        constructor(...e) {
          super(...e),
            p(this, 'renderParsedText', (e) =>
              Object(s.parseText)(e).map((e, t) => {
                switch (e.type) {
                  case 'plain':
                    return e.text;
                  case 'link':
                    return a.a.createElement(
                      l.d,
                      {
                        href: e.url,
                        target: '_blank',
                        key: `link-${t}`,
                        rel: 'noopener noreferrer',
                      },
                      e.text
                    );
                  case 'bold':
                    return a.a.createElement(l.a, { key: `bold-${t}` }, e.text);
                }
              })
            );
        }
        getClassName() {
          const { style: e } = this.props;
          return i()({
            'intercom-messenger-card-text': !0,
            'intercom-messenger-card-text-header': 'header' === e,
            'intercom-messenger-card-text-muted': 'muted' === e,
            'intercom-messenger-card-text-paragraph': 'paragraph' === e,
          });
        }
        render() {
          const { text: e, style: t, align: n, isLast: r, bottomMargin: o } = this.props,
            i = d(
              d({}, 'error' === t ? { role: 'alert' } : {}),
              {},
              {
                align: n,
                variant: t,
                isBottomMarginNone: 'none' === o || r,
                className: this.getClassName(),
                children: this.renderParsedText(e),
              }
            );
          return 'header' === t ? a.a.createElement(l.c, i) : a.a.createElement(l.b, i);
        }
      }
      p(TextComponent, 'defaultProps', {
        type: 'text',
        style: 'paragraph',
        align: 'left',
        isLast: !1,
        bottomMargin: 'default',
      });
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/close.1359f860.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/close@2x.570e24e7.png';
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return ReactionPicker;
      });
      var r = n(460),
        a = n.n(r),
        o = n(648),
        i = n(545);
      function s(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class ReactionPicker extends r.Component {
        constructor(...e) {
          super(...e), s(this, 'composer', void 0);
        }
        componentDidMount() {
          this.handleHeightChange();
        }
        handleHeightChange() {
          const { onHeightChange: e } = this.props;
          e && this.composer && e(this.composer.clientHeight);
        }
        render() {
          const { reactionSet: e, onReactionSelect: t, reactionIndex: n, prompt: r } = this.props;
          return a.a.createElement(
            i.a,
            {
              'ref': (e) => (this.composer = e),
              'role': 'group',
              'aria-labelledby': r ? 'reaction-prompt' : null,
              'hasPrompt': !!r,
            },
            r ? a.a.createElement(i.b, { id: 'reaction-prompt' }, r) : null,
            e.map((e, r) =>
              a.a.createElement(o.a, {
                key: r,
                onReactionSelect: t,
                reaction: e,
                hasSelectedReaction: null != n,
                isSelected: n === e.index,
              })
            )
          );
        }
      }
      s(ReactionPicker, 'defaultProps', { reactionIndex: null });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'v', function () {
        return g;
      }),
        n.d(t, 't', function () {
          return f;
        }),
        n.d(t, 'w', function () {
          return v;
        }),
        n.d(t, 'j', function () {
          return x;
        }),
        n.d(t, 'h', function () {
          return y;
        }),
        n.d(t, 'b', function () {
          return j;
        }),
        n.d(t, 'a', function () {
          return O;
        }),
        n.d(t, 'l', function () {
          return C;
        }),
        n.d(t, 'p', function () {
          return E;
        }),
        n.d(t, 'm', function () {
          return k;
        }),
        n.d(t, 'n', function () {
          return P;
        }),
        n.d(t, 'u', function () {
          return B;
        }),
        n.d(t, 'x', function () {
          return A;
        }),
        n.d(t, 'k', function () {
          return M;
        }),
        n.d(t, 'y', function () {
          return I;
        }),
        n.d(t, 'o', function () {
          return L;
        }),
        n.d(t, 'g', function () {
          return F;
        }),
        n.d(t, 'd', function () {
          return D;
        }),
        n.d(t, 'c', function () {
          return H;
        }),
        n.d(t, 'f', function () {
          return q;
        }),
        n.d(t, 'e', function () {
          return U;
        }),
        n.d(t, 'q', function () {
          return G;
        }),
        n.d(t, 'r', function () {
          return $;
        }),
        n.d(t, 's', function () {
          return Y;
        }),
        n.d(t, 'i', function () {
          return Z;
        });
      var r = n(461),
        a = n(463),
        o = n(837),
        i = n.n(o),
        s = n(838),
        l = n.n(s),
        c = n(839),
        d = n.n(c),
        p = n(840),
        u = n.n(p),
        m = n(656),
        h = { name: '15z6b27', styles: 'margin-top:0;margin-bottom:5px;' },
        b = { name: '1ab756r', styles: 'margin-top:5px;margin-bottom:0;' };
      const g = Object(r.c)('div', { target: 'eoh7gg00' })(
          'margin:30px 0 30px 0;padding:16px 20px 20px;color:',
          Object(r.f)('black'),
          ';position:relative;border-radius:5px;text-align:left;background-color:',
          Object(r.f)('white'),
          ';',
          ({ isBorderless: e, lastPart: t }) => e && t && b,
          ' ',
          ({ isBorderless: e, nextPartByAdmin: t }) => e && t && h,
          ' ',
          ({ isSuccessful: e }) =>
            e &&
            Object(r.b)(
              A.className,
              '{position:absolute;top:0;opacity:0;visibility:hidden;max-height:24px;}',
              I.className,
              '{position:static;opacity:1;visibility:visible;max-height:48px;}'
            )
        ),
        f = Object(r.c)('span', { target: 'eoh7gg01' })(
          'font-size:13px;line-height:20px;color:',
          Object(r.f)('metaText'),
          ';margin-right:39px;&:last-child{margin-right:0;}&:hover{color:',
          Object(r.f)('itemHover'),
          ';border-bottom:1px solid;}',
          ({ theme: e, isSelected: t }) =>
            t && Object(r.b)('color:', e.bodyText, ';border-bottom:1px solid;')
        ),
        v = Object(r.c)('div', { target: 'eoh7gg02' })({
          name: 'gs1lf3',
          styles: 'position:relative;margin-bottom:5px;',
        }),
        x = Object(r.c)('div', { target: 'eoh7gg03' })(
          'width:100%;position:relative;float:left;',
          g.className,
          '{margin-top:6px;margin-bottom:0;margin-left:45px;padding-left:0;}',
          f.className,
          '{margin-right:19px;}',
          ({ isBorderless: e }) =>
            e && Object(r.b)(g.className, '{margin-left:45px;}', f.className, '{margin-right:9px;}')
        ),
        y = Object(r.c)('div', { target: 'eoh7gg04' })({
          name: 'p3nxzx',
          styles: 'margin-top:8px;margin-bottom:8px;width:100%;position:relative;float:left;',
        }),
        j = Object(r.c)('div', { target: 'eoh7gg05' })(
          'padding:26px 24px 24px;margin-left:48px;border-radius:3px;font-size:14px;line-height:1.4;color:',
          Object(r.f)('bodyText'),
          ';overflow:hidden;',
          a.e,
          ' ',
          ({ theme: e, isBorderless: t }) =>
            t &&
            Object(r.b)(
              'box-shadow:',
              e.notificationBoxShadow,
              ';border-color:',
              e.white,
              ';background-color:',
              e.white,
              ';margin-left:45px;'
            )
        ),
        O = Object(r.c)('div', { target: 'eoh7gg06' })({
          name: '1qgk0pb',
          styles: 'position:absolute;left:0;bottom:10px;',
        }),
        C = Object(r.c)('div', { target: 'eoh7gg07' })({
          name: 'cy0b9q',
          styles:
            'position:relative;display:table;width:100%;div{display:table-cell;vertical-align:top;}',
        });
      var w = { name: 'xxxqxo', styles: 'width:1px;transition:width 300ms 1000ms;' };
      const E = Object(r.c)('div', { target: 'eoh7gg08' })(
          'width:40px;',
          ({ hasChannel: e }) => e && w
        ),
        k = Object(r.c)(m.a, { target: 'eoh7gg09' })({
          name: 'i2cysd',
          styles: 'position:absolute;top:12px;left:12px;z-index:1;transition:transform 300ms;',
        });
      var S = {
          name: 'tvy5p1',
          styles: 'input{border:1px solid #fcedef;background-color:#fcedef;}',
        },
        _ = { name: '1tepm2d', styles: 'input{padding-left:33px;}' };
      const P = Object(r.c)('div', { target: 'eoh7gg010' })(
        'position:relative;input{position:absolute;box-sizing:border-box;height:40px;width:100%;padding:0 12px;font-size:14px;font-family:',
        Object(r.f)('fontSansSerif'),
        ';color:',
        Object(r.f)('inputText'),
        ';border-radius:4px 0 0 4px;border:1px solid ',
        Object(r.f)('inputBorder'),
        ';border-right:0;appearance:none;transition:border 300ms,color 400ms 600ms,padding 300ms 600ms,height 400ms 1000ms;&:disabled{opacity:0.7;}}',
        ({ isPhone: e }) => e && _,
        ' ',
        ({ hasError: e }) => e && S,
        ' ',
        ({ theme: e, isSuccessful: t }) =>
          t &&
          Object(r.b)(
            'input{border:1px solid ',
            e.white,
            ';border-right:0;padding:0;height:20px;font-weight:400;color:',
            e.bodyText,
            ';text-fill-color:',
            e.bodyText,
            ';overflow:hidden;text-overflow:ellipsis;&:autofill{box-shadow:0 0 0px 1000px ',
            e.white,
            ' inset;text-fill-color:',
            e.bodyText,
            ' !important;}}',
            k.className,
            '{transform:scale(0);}'
          )
      );
      var T = { name: '127uohz', styles: 'padding-left:33px;' };
      const B = Object(r.c)('span', { target: 'eoh7gg011' })(
        'position:absolute;box-sizing:border-box;height:40px;width:100%;padding:4px 12px 0;font-size:14px;font-weight:400;font-family:',
        Object(r.f)('fontSansSerif'),
        ';line-height:32px;color:',
        Object(r.f)('inputPlaceholder'),
        ';cursor:text;overflow:hidden;text-overflow:ellipsis;z-index:1;',
        ({ isPhone: e }) => e && T
      );
      var N = { name: 'whh5e5', styles: 'opacity:1;' };
      const A = Object(r.c)('div', { target: 'eoh7gg012' })(
          'font-size:14px;line-height:24px;color:',
          Object(r.f)('bodyText'),
          ';transition:opacity 300ms 1000ms,max-height 400ms 1000ms;position:static;max-height:48px;',
          ({ isSuccessful: e }) => e && N
        ),
        M = Object(r.c)('div', { target: 'eoh7gg013' })(
          'font-size:14px;line-height:19px;color:',
          Object(r.f)('metaText'),
          ';text-overflow:ellipsis;overflow:hidden;'
        ),
        I = Object(r.c)('div', { target: 'eoh7gg014' })(
          'font-size:14px;line-height:24px;color:',
          Object(r.f)('bodyText'),
          ';transition:opacity 300ms 1000ms,max-height 400ms 1000ms;position:absolute;top:0;opacity:0;visibility:hidden;max-height:24px;'
        );
      var z = { name: 'sllbpf', styles: 'opacity:0.7;' };
      const L = Object(r.c)('div', { target: 'eoh7gg015' })(
        'width:35px;height:40px;border-radius:0 4px 4px 0;background-color:',
        Object(r.f)('appColor'),
        ';box-shadow:0 1px 2px 0 rgba(0,0,0,0.15);transition:border-radius 300ms,opacity 300ms 600ms,height 400ms 1000ms;&:hover{opacity:0.7;}',
        ({ isDisabled: e }) => e && z,
        ' ',
        ({ hasChannel: e }) =>
          e &&
          Object(r.b)(
            'background-color:#38a652;opacity:0;border-radius:4px;height:20px;&:hover{opacity:0;}',
            G.className,
            '{opacity:0;transform:rotate(270deg) translate(-4px,-3px);}',
            $.className,
            '{opacity:1;transform:rotate(0deg) scale(1);}'
          )
      );
      var R = {
        name: 'xfpdpv',
        styles:
          '.intercom-notification-channel-collector-card-controls-prompt{position:absolute;top:0;opacity:0;visibility:hidden;max-height:24px;}.intercom-notification-channel-collector-card-controls-message{position:static;opacity:1;visibility:visible;max-height:48px;}.intercom-notification-channel-collector-card-controls-channels{height:0;opacity:0;}',
      };
      const F = Object(r.c)('div', { target: 'eoh7gg016' })(({ isSaved: e }) => e && R),
        D = Object(r.c)('div', { target: 'eoh7gg017' })(
          'font-size:13px;line-height:20px;height:30px;color:',
          Object(r.f)('metaText'),
          ';transition:opacity 300ms 300ms,height 400ms 1000ms;'
        ),
        H = Object(r.c)('span', { target: 'eoh7gg018' })(
          'margin-right:20px;color:',
          Object(r.f)('grey'),
          ';&:hover{color:',
          Object(r.f)('inputText'),
          ';border-bottom:1px solid;}',
          ({ theme: e, isSelected: t }) =>
            t && Object(r.b)('color:', e.inputText, ';border-bottom:1px solid;')
        ),
        W = ({ theme: e }) =>
          Object(r.b)(
            'margin-bottom:6px;font-size:14px;line-height:24px;max-height:48px;color:',
            e.bodyText,
            ';transition:opacity 300ms 1000ms,max-height 400ms 1000ms;'
          ),
        q = Object(r.c)('div', { target: 'eoh7gg019' })(W),
        U = Object(r.c)('div', { target: 'eoh7gg020' })(
          W,
          ' position:absolute;top:0;opacity:0;visibility:hidden;max-height:24px;'
        ),
        V = {
          name: '1w32lhw',
          styles:
            'position:absolute;top:0;bottom:0;width:35px;height:40px;transition:transform 300ms linear,opacity 150ms linear;background-position:center;background-repeat:no-repeat;',
        },
        G = Object(r.c)('div', { target: 'eoh7gg021' })(
          V,
          ' ',
          Object(a.b)(i.a, l.a, '8px', '13px'),
          ' opacity:1;'
        ),
        $ = Object(r.c)('div', { target: 'eoh7gg022' })(
          V,
          ' ',
          Object(a.b)(d.a, u.a, '18px', '14px'),
          ' opacity:0;transform:rotate(-90deg) scale(0.5);'
        );
      var X = { name: '12bfhs7', styles: 'height:0;opacity:0;' };
      const Y = Object(r.c)('div', { target: 'eoh7gg023' })(
        'height:30px;opacity:1;transition:opacity 300ms 300ms,height 400ms 1000ms;',
        ({ isSuccessful: e }) => e && X
      );
      var K = { name: '1qgk0pb', styles: 'position:absolute;left:0;bottom:10px;' };
      const Z = Object(r.c)('div', { target: 'eoh7gg024' })(({ isBorderless: e }) => !e && K);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return d;
      }),
        n.d(t, 'm', function () {
          return p;
        }),
        n.d(t, 'k', function () {
          return u;
        }),
        n.d(t, 'd', function () {
          return m;
        }),
        n.d(t, 'l', function () {
          return b;
        }),
        n.d(t, 'a', function () {
          return g;
        }),
        n.d(t, 'b', function () {
          return f;
        }),
        n.d(t, 'j', function () {
          return y;
        }),
        n.d(t, 'i', function () {
          return j;
        }),
        n.d(t, 'h', function () {
          return O;
        }),
        n.d(t, 'e', function () {
          return C;
        }),
        n.d(t, 'g', function () {
          return w;
        }),
        n.d(t, 'f', function () {
          return E;
        });
      var r = n(461),
        a = n(643),
        o = n(581);
      const i = Object(r.d)('0%{opacity:0;}70%{opacity:0;}100%{opacity:1;}');
      var s = {
          name: '13eeko5',
          styles: '/* @noflip */ padding:0 0 0 45px;margin:0;background:none;',
        },
        l = {
          name: '10dtuyw',
          styles:
            'z-index:2;margin-top:3px;box-shadow:inset 0px 9px 8px -10px rgba(38,76,152,0.2),inset 0px -9px 8px -10px rgba(38,76,152,0.2);background:#fafafa;',
        },
        c = { name: 'g6rjc4', styles: 'padding-top:13px;padding-bottom:6px;' };
      const d = Object(r.c)('div', { target: 'e1y2xk9v0' })(
          'position:relative;background:rgba(0,0,0,0);padding:0 26px;margin-bottom:-3px;position:relative;transition:padding 100ms,background 100ms,box-shadow 100ms;',
          ({ suggestionsVisible: e }) => e && c,
          ' ',
          ({ suggestionsVisible: e, isTypeaheadSuggestions: t, isBorderless: n }) =>
            e && t && !n && l,
          ' ',
          ({ isBorderless: e }) => e && s,
          ' ',
          ({ isBorderless: e, suggestionsVisible: t }) =>
            e && t && Object(r.b)('padding-top:10px;animation:', i, ' 750ms ease;')
        ),
        p = Object(r.c)('h3', { target: 'e1y2xk9v1' })(
          'display:block;color:',
          Object(r.f)('grey'),
          ';font-size:14px;padding:8px 5px;/* @noflip */ text-align:right;'
        ),
        u = Object(r.c)('div', { target: 'e1y2xk9v2' })({
          name: 'xbrvud',
          styles: 'border-top:none;position:relative;',
        }),
        m = 600;
      var h = { name: '3dmdqb', styles: 'transition:none;' };
      const b = Object(r.c)('div', { target: 'e1y2xk9v3' })(
          'position:relative;transition:height ',
          m,
          'ms;overflow:hidden;height:',
          Object(r.e)('height'),
          'px;max-width:',
          Object(r.f)('messengerWidthPx'),
          'px;',
          ({ isInboundBot: e }) => e && h
        ),
        g = 10,
        f = 10;
      var v = { name: '1baulvz', styles: 'display:inline-block;' },
        x = { name: '13o7eu2', styles: 'display:block;' };
      const y = Object(r.c)(a.a, { target: 'e1y2xk9v4' })(
          'position:absolute;/* @noflip */ right:0;top:0;font-size:14px;line-height:18px;padding:',
          f,
          'px;border-radius:6px;background-color:',
          Object(r.f)('quickReplyBackgroundColor'),
          ';color:',
          Object(r.f)('quickReplyTextColor'),
          ';',
          ({ isTypeaheadSuggestion: e }) => (e ? x : v),
          ' &:hover{background-color:',
          Object(r.f)('appColor'),
          ';color:',
          Object(r.f)('white'),
          ';}',
          ({ theme: e }) => 'light' === e.primaryType && Object(r.b)('&:hover{color ', e.black, '}')
        ),
        j = Object(r.c)('div', { target: 'e1y2xk9v5' })({
          name: '36wep1',
          styles:
            'position:absolute;visibility:hidden;pointer-events:none;opacity:0;left:0;right:0;height:0;',
        }),
        O = Object(r.c)('div', { target: 'e1y2xk9v6' })({
          name: '1baulvz',
          styles: 'display:inline-block;',
        }),
        C = Object(r.c)('div', { target: 'e1y2xk9v7' })({
          name: 'a3ty5u',
          styles: 'padding:3px 0 16px;/* @noflip */ text-align:right;',
        }),
        w = Object(r.c)('div', { target: 'e1y2xk9v8' })(
          'display:inline-block;font-size:14px;color:',
          Object(r.f)('darkGrey'),
          ';cursor:pointer;line-height:20px;'
        ),
        E = Object(r.c)(o.a, { target: 'e1y2xk9v9' })(
          'height:10px;width:10px;margin-left:5px;text-align:right;vertical-align:middle;cursor:pointer;path{fill:',
          Object(r.f)('darkGrey'),
          ';}'
        );
    },
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return o;
      }),
        n.d(t, 'a', function () {
          return i;
        }),
        n.d(t, 'b', function () {
          return s;
        });
      var r = n(461);
      const a = { name: '1purguz', styles: 'position:absolute;clip:rect(1px,1px,1px,1px);' },
        o = Object(r.c)('span', { target: 'e94x2v60' })(a),
        i = Object(r.c)('button', { target: 'e94x2v61' })(a),
        s = Object(r.c)('div', { target: 'e94x2v62' })(a);
    },
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'd', function () {
        return l;
      }),
        n.d(t, 'c', function () {
          return p;
        }),
        n.d(t, 'e', function () {
          return u;
        }),
        n.d(t, 'a', function () {
          return h;
        }),
        n.d(t, 'b', function () {
          return v;
        });
      var r = n(461),
        a = n(583);
      const o = ['ready', 'paused', 'complete'];
      var i = { name: '1wvlf2b', styles: 'transition-delay:1s;opacity:0;' },
        s = { name: 'whh5e5', styles: 'opacity:1;' };
      const l = Object(r.c)('div', { target: 'evybgxb0' })(
        'opacity:0;position:absolute;top:0px;width:100%;height:100%;pointer-events:none;z-index:2;display:flex;justify-content:center;align-items:center;transition:opacity 200ms cubic-bezier(0.165,0.84,0.44,1);',
        ({ mobile: e, playState: t }) => (e || -1 !== o.indexOf(t)) && s,
        ' ',
        ({ mobile: e, playState: t }) => e && 'playing' === t && i
      );
      var c = { name: 'ir8k3b', styles: '&:after{opacity:0;}' },
        d = {
          name: 'y4mn9d',
          styles:
            "&:after{width:100%;height:80px;content:'';position:absolute;pointer-events:none;bottom:0;right:0;left:0;background-size:100% 100px;background-color:linear-gradient( 180deg,rgba(0,0,0,0.0001) 0%,rgba(0,0,0,0.5) 100% );border-bottom-left-radius:5px;border-bottom-right-radius:5px;}",
        };
      const p = Object(r.c)('div', { target: 'evybgxb1' })(
          'position:relative;overflow:hidden;border-radius:5px;height:100%;width:100%;cursor:pointer;display:flex;align-items:center;video{flex:1;}&:hover ',
          l.className,
          '{opacity:1;}',
          ({ noControls: e }) => e && Object(r.b)(a.a.className, '{padding-bottom:12px;}'),
          ' ',
          ({ hasCaptions: e, hasAudio: t }) => (e || t) && d,
          ' ',
          ({ playState: e }) => 'loading' === e && c,
          ' .intercom-video-loading{position:absolute;border-radius:5px;top:0;left:0;right:0;bottom:0;height:100%;background-color:',
          Object(r.f)('white'),
          ';}'
        ),
        u = Object(r.c)('div', { target: 'evybgxb2' })({
          name: '1464hsv',
          styles:
            'cursor:pointer;border-radius:5px;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;',
        }),
        m = Object(r.d)('50%{transform:rotate(-66deg);}100%{transform:rotate(0deg);}'),
        h = Object(r.c)('span', { target: 'evybgxb3' })(
          'cursor:pointer;display:flex;justify-content:center;align-items:center;width:48px;height:48px;pointer-events:auto;background-color:',
          Object(r.f)('buttonTextColor'),
          ';border-radius:120px;transition:all 0.2s ease-out;box-shadow:0px 2px 32px rgba(0,0,0,0.14),0px 1px 6px rgba(0,0,0,0.06);&:hover{transform:scale(1.25);}svg{',
          ({ complete: e }) =>
            e &&
            Object(r.b)(
              'animation-name:',
              m,
              ';animation-duration:400ms;animation-timing-function:cubic-bezier(0.165,0.84,0.44,1);'
            ),
          ' path,rect{fill:',
          Object(r.f)('buttonBackgroundColor'),
          ';}}'
        );
      var b = { name: 'q7lffx', styles: 'opacity:0;' },
        g = { name: 'r49gjn', styles: 'transform:translateY(0);' },
        f = {
          name: 'hahszo',
          styles:
            '/* @noflip */ background:linear-gradient(180deg,rgba(0,0,0,0.0001) 0%,rgba(0,0,0,0.5) 100%);',
        };
      const v = Object(r.c)('div', { target: 'evybgxb4' })(
        'opacity:1;position:absolute;transform:translateY(28px);bottom:0px;width:100%;z-index:2;pointer-events:none;background-size:100% 100px;/* @noflip */ background-color:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.32) 100%);border-bottom-left-radius:5px;border-bottom-right-radius:5px;transition:all 300ms cubic-bezier(0.165,0.84,0.44,1);',
        ({ hasCaptions: e }) => e && f,
        ' ',
        ({ shiftUp: e }) => e && g,
        ' ',
        ({ isLoading: e }) => e && b
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return a;
      }),
        n.d(t, 'c', function () {
          return o;
        }),
        n.d(t, 'a', function () {
          return i;
        });
      const r = new Set(),
        a = (e) => {
          r.add(e);
        },
        o = (e) => {
          r.delete(e);
        },
        i = (e) => {
          r.forEach((t) => {
            t(e);
          });
        };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return a;
      }),
        n.d(t, 'f', function () {
          return o;
        }),
        n.d(t, 'd', function () {
          return i;
        }),
        n.d(t, 'c', function () {
          return s;
        }),
        n.d(t, 'b', function () {
          return l;
        }),
        n.d(t, 'a', function () {
          return c;
        });
      var r = n(461);
      const a = Object(r.c)('div', { target: 'e1apf4bm0' })(
          'font-size:13px;display:inline-block;vertical-align:middle;color:',
          Object(r.f)('appColor'),
          ';line-height:1.2;padding-top:2px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;width:calc(100% - ',
          40,
          'px);span{white-space:nowrap;}.intercom-note &,.intercom-pointer &{width:calc(100% - ',
          76,
          'px);}.intercom-article.intercom-post &{',
          ({ theme: e }) =>
            Object(r.b)('width:calc(100% - ', 2 * e.postMarginPercent, '% - ', 40, 'px);'),
          '}'
        ),
        o = Object(r.c)('span', { target: 'e1apf4bm1' })(({ theme: e }) =>
          Object(r.b)('color:', e.isPrimaryColorLight ? e.appColorDarker : e.appColor, ';')
        ),
        i = Object(r.c)('div', { target: 'e1apf4bm2' })(
          'color:',
          Object(r.f)('summaryText'),
          ';overflow:hidden;text-overflow:ellipsis;'
        ),
        s = Object(r.c)('span', { target: 'e1apf4bm3' })(
          'font-weight:bold;color:',
          Object(r.f)('darkGrey'),
          ';.intercom-article.intercom-post &{font-weight:normal;color:',
          Object(r.f)('grey'),
          ';}'
        ),
        l = Object(r.c)('span', { target: 'e1apf4bm4' })(
          'color:',
          Object(r.f)('grey'),
          ';.intercom-article.intercom-post &{color:',
          Object(r.f)('black'),
          ';}'
        ),
        c = Object(r.c)('div', { target: 'e1apf4bm5' })(
          'color:',
          Object(r.f)('subheaderText'),
          ';opacity:0.7;'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return s;
      });
      var r = n(461),
        a = n(582),
        o = n(469),
        i = n(470);
      const s = Object(r.c)('div', { target: 'eh1vshe0' })(
        a.h.className,
        ' &,',
        o.c.className,
        ' &,',
        i.d.className,
        ' &{padding-top:1px;padding-bottom:16px;}'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return i;
      }),
        n.d(t, 'c', function () {
          return s;
        }),
        n.d(t, 'a', function () {
          return l;
        });
      var r = n(461),
        a = n(494),
        o = { name: '190lmxx', styles: '/* @noflip */ text-align:right;' };
      const i = Object(r.c)('div', { target: 'e1ceuskp0' })(
          ({ theme: e }) =>
            Object(r.b)(
              'color:',
              e.isPrimaryColorLight ? Object(a.b)(e.metaText, 15) : e.metaText,
              ';'
            ),
          ' clear:both;font-size:13px;padding-top:7px;width:75%;&.intercom-conversation-part-metadata-exit,&.intercom-conversation-part-metadata-exit-active,&.intercom-conversation-part-metadata-enter,&.intercom-conversation-part-metadata-enter-active{display:none;}',
          ({ theme: e }) => e.isRtlLocale && o
        ),
        s = Object(r.c)('div', { target: 'e1ceuskp1' })({
          name: 'epvm6',
          styles: 'white-space:nowrap;',
        }),
        l = Object(r.c)('div', { target: 'e1ceuskp2' })({
          name: '6n7j50',
          styles: 'display:inline;',
        });
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r);
      t.a = () =>
        a.a.createElement(
          'svg',
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 18' },
          a.a.createElement('path', {
            d: 'M14.154 6.918l-.004.003.001-.004-3.287 3.286-.006-.005-3.574 3.574c-.016.017-.03.036-.048.053l-.05.047-.043.041v-.002c-1.167 1.07-2.692 1.331-3.823.2-1.13-1.13-.89-2.677.18-3.843l-.005-.004.074-.073.016-.018c.006-.005.012-.009.017-.016l6.053-6.053.761.76-6.053 6.054-.029.028v.001l-.005.004-.073.074c.011-.01.025-.018.035-.03-.688.75-.93 1.636-.21 2.356.72.72 1.583.456 2.333-.232l-.03.034.04-.042.01-.008.008-.009.033-.03.031-.034.01-.009.007-.009 5.004-5.003.005.006 1.858-1.859c1.223-1.218 1.51-2.913.291-4.132C12.462.806 10.414.74 9.195 1.958L2.248 8.905c.003 0 .006-.002.008-.004-1.625 1.667-1.542 4.43.103 6.074 1.646 1.646 4.474 1.795 6.141.17-.003.002-.004.008-.008.012l.047-.047 6.053-6.054.042-.042.743.78-.025.021.001.002-6.05 6.05-.002.002-.002.001-.046.046h-.002c-2.094 2.04-5.578 1.894-7.652-.18-2.049-2.049-2.15-5.407-.183-7.505l-.006-.005h-.002l.076-.078 6.943-6.944.003-.002.004-.005c1.641-1.64 4.367-1.574 6.008.066 1.64 1.642 1.353 4.014-.288 5.655z',
            fillRule: 'evenodd',
          })
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return p;
      }),
        n.d(t, 'b', function () {
          return u;
        }),
        n.d(t, 'd', function () {
          return m;
        }),
        n.d(t, 'a', function () {
          return h;
        });
      var r = n(1),
        a = n(44),
        o = n(78),
        i = n(225),
        s = n(39);
      function l(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function c(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? l(Object(n), !0).forEach(function (t) {
                d(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : l(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function d(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const p = (e) => {
          if (!e || !e.parts) return;
          const t = e.parts[e.parts.length - 1];
          return t && t.replyOptions && 0 !== t.replyOptions.length ? t : void 0;
        },
        u = (e) => {
          const t = p(e);
          if (t) return t.replyOptions;
        },
        m = Object(r.createSelector)(a.b, (e) => {
          const { selfServeSuggestionsEnabled: t } = e.composerState;
          return t;
        }),
        h = Object(r.createSelector)(
          [
            a.b,
            (e) => e.inboundSuggestions.isDismissed,
            i.a,
            (e) => e.predictiveAnswers.composerSuggestions,
            (e) => e.operator.composerHasContent,
            m,
          ],
          (e, t, n, r, a, i) => {
            var l;
            const d = !e.id,
              p = !e.userParticipated,
              m = u(e),
              h = c(c({}, o.b), {}, { suggestions: m || [] }),
              b = !!n && !t && d && p && !e.botIntroId,
              g = !!m,
              f = d && p && !b && !g && !!r,
              { composerSuggestions: v } = e,
              x =
                (null == v
                  ? void 0
                  : null === (l = v.suggestions) || void 0 === l
                  ? void 0
                  : l.length) > 0,
              y = null == v ? void 0 : v.isViewed,
              j = i && a && x,
              O = y && !g && i && a && !x;
            if (e.preventEndUserReplies) return o.b;
            if (y && O)
              return c(
                c({}, o.b),
                {},
                { prompt: [{ type: 'paragraph', text: Object(s.e)('empty_suggestion_prompt') }] }
              );
            if (j)
              return c(
                c({}, v),
                {},
                { prompt: [{ type: 'paragraph', text: Object(s.e)('suggested_content_prompt') }] }
              );
            if (b) return c(c({}, n), {}, { isInboundBotSuggestions: !0 });
            if (g) return c(c({}, h), {}, { isQuickReplies: !0 });
            if (f) {
              const e = [{ type: 'paragraph', text: Object(s.e)('suggested_content_prompt') }];
              return c(c({}, r), {}, { prompt: e, isPredictiveAnswers: !0 });
            }
            return o.b;
          }
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r);
      t.a = () =>
        a.a.createElement(
          'svg',
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 18 18' },
          a.a.createElement('path', {
            d: 'M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm0 1C4.589 1 1 4.589 1 9s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8zM5 6.999a1 1 0 1 1 2.002.004A1 1 0 0 1 5 6.999zm5.999 0a1.002 1.002 0 0 1 2.001 0 1 1 0 1 1-2.001 0zM8.959 13.5c-.086 0-.173-.002-.26-.007-2.44-.132-4.024-2.099-4.09-2.182l-.31-.392.781-.62.312.39c.014.017 1.382 1.703 3.37 1.806 1.306.072 2.61-.554 3.882-1.846l.351-.356.712.702-.35.356c-1.407 1.427-2.886 2.15-4.398 2.15z',
            fillRule: 'evenodd',
          })
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(557);
      t.a = () =>
        a.a.createElement(
          o.c,
          { 'focusable': 'false', 'aria-hidden': 'true' },
          a.a.createElement(
            'g',
            { stroke: 'none', strokeWidth: '1', fill: 'none', fillRule: 'evenodd' },
            a.a.createElement(
              'g',
              { transform: 'translate(-340.000000, -32.000000)', fill: '#ffffff' },
              a.a.createElement('polygon', {
                points:
                  '350.656537 44 346 39.343463 341.343463 44 340 42.656537 344.656537 38 340 33.343463 341.343463 32 346 36.656537 350.656537 32 352 33.343463 347.343463 38 352 42.656537',
              })
            )
          )
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(462),
        a = n(102),
        o = n(37),
        i = n.n(o),
        s = n(460),
        l = n.n(s),
        c = n(755),
        d = n(494);
      function p(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function u(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? p(Object(n), !0).forEach(function (t) {
                m(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : p(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function m(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      var h = n(628),
        b = n(9),
        g = n(81),
        f = n(39);
      const v = '"Helvetica Neue", "Apple Color Emoji", Helvetica, Arial, sans-serif',
        x = `"intercom-font", ${v}`,
        y = [
          'en',
          'it',
          'es',
          'pt',
          'pt-BR',
          'fr',
          'de-form',
          'de',
          'da',
          'nl',
          'nb',
          'sv',
          'ca',
          'hr',
          'cs',
          'et',
          'hu',
          'pl',
          'tr',
        ],
        j = (e, t) => (b.a.isMobileBrowser() || Object(g.b)() ? t : isNaN(e) ? t : Math.max(t, e));
      function O(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function C(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? O(Object(n), !0).forEach(function (t) {
                w(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : O(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function w(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      var E = (e) =>
          C(
            C(
              C({}, e),
              ((e) => {
                const t = {
                  white: '#fff',
                  black: '#000',
                  grey: '#737376',
                  lightGrey1: '#bcbcbc',
                  lightGrey2: '#d2d7db',
                  lightGrey3: '#e1e1e1',
                  lightGrey4: '#e6e6e6',
                  lightGrey5: '#f5f5f5',
                  lightGrey6: '#f8f8f8',
                  lightGrey7: '#fafafa',
                  lightGrey8: '#eeeeee',
                  lightGrey9: '#adadad',
                  lightGrey10: '#e5e5e5',
                  darkGrey: '#686868',
                  red: '#D22628',
                  lightRed1: '#df0c1f',
                  lightRed2: '#fbdbdb',
                  lightRed3: '#fef0f0',
                  green: '#39C089',
                  boundEventBlue: '#1f8ceb',
                  boundEventCarbon: '#1d364b',
                  boundEventSlate: '#62778c',
                  boundEventAluminum: '#8da2b5',
                  boundEventDarkBlue: '#1271c4',
                  boundEventColdWhite: '#f8fafb',
                  boundEventColdWhite2: '#f7fafc',
                  installBlue: '#286efa',
                  installDarkBlue: '#0549d1',
                  installGrey1: '#888888',
                  installGrey2: '#8da2b5',
                  installGrey3: '#dde5ed',
                  installDarkGrey: '#8ca2b6',
                  installRed: '#fd3a57',
                  installGreen: '#17c65d',
                };
                return u(
                  u({}, t),
                  {},
                  {
                    appColor: e.primaryColor,
                    appSecondaryColor: e.secondaryColor,
                    appColorLight: Object(d.a)(t.white, 0.8),
                    appColorSemiTransparent: Object(d.a)(e.primaryColor, 0.5),
                    appColorSemiTransparent30: Object(d.a)(e.primaryColor, 0.3),
                    appColorDark: Object(d.b)(e.primaryColor, 15.5),
                    appColorDarker: Object(d.b)(e.primaryColor, 21.5),
                    headerText: t.white,
                    subheaderText: t.grey,
                    summaryText: t.black,
                    bodyText: t.black,
                    metaText: t.grey,
                    errorText: t.red,
                    errorTextMuted: t.grey,
                    listDisabled: t.grey,
                    participantText: t.grey,
                    inputBorder: t.lightGrey3,
                    inputBackground: t.lightGrey7,
                    inputPlaceholder: t.grey,
                    inputText: t.black,
                    previewText: t.grey,
                    inputButtonSubmitIcon: e.buttonTextColor,
                    inputButtonSuccessIcon: t.green,
                    disabledInputBorder: t.lightGrey1,
                    disabledInputButtonBackground: t.lightGrey8,
                    disabledInputText: t.lightGrey1,
                    disabledInputSubmitIcon: t.lightGrey1,
                    submittedInputText: t.grey,
                    invalidInputBackground: t.lightRed3,
                    invalidInputBorder: t.lightRed2,
                    invalidInputText: t.red,
                    textareaBorder: t.lightGrey3,
                    textareaBackground: t.lightGrey7,
                    textareaPlaceholder: t.grey,
                    textareaText: t.black,
                    previewText: t.grey,
                    disabledTextareaBorder: t.lightGrey1,
                    disabledInputText: t.lightGrey1,
                    invalidTextareaBackground: t.lightRed3,
                    invalidTextareaBorder: t.lightRed2,
                    invalidTextareaText: t.red,
                    disabledButtonBackground: t.lightGrey2,
                    disabledButtonText: t.lightGrey1,
                    disabledButtonBorder: t.lightGrey1,
                    avatarBackgroundColor: e.avatarBackgroundColor,
                    unreadDot: t.red,
                    unreadBackground: Object(d.a)(e.primaryColor, 0.08),
                    unreadBackgroundLight: Object(d.a)(t.black, 0.05),
                    backgroundHover: e.isPrimaryColorLight
                      ? Object(d.a)(t.black, 0.08)
                      : Object(d.a)(e.primaryColor, 0.12),
                    adminCommentBackground: t.lightGrey5,
                    dividerBorder: t.lightGrey8,
                    attachmentListBorder: t.lightGrey4,
                    weRunOnIntercomText: '#777678',
                    codeBlockBackground: t.lightGrey5,
                    itemHover: t.lightGrey7,
                    itemActive: t.lightGrey6,
                    overlayColor: Object(d.a)(t.black, 0.35),
                    composerBorder: t.lightGrey4,
                    launcherIconColor: e.buttonTextColor,
                    attributeButtonColor: e.isPrimaryColorLight ? t.grey : e.primaryColor,
                    attributeButtonHoverColor: e.isPrimaryColorLight
                      ? t.lightGrey3
                      : Object(d.a)(e.primaryColor, 0.2),
                    attributeButtonActiveColor: e.isPrimaryColorLight
                      ? t.lightGrey1
                      : Object(d.a)(e.primaryColor, 0.4),
                  }
                );
              })(e)
            ),
            ((e) => {
              const t = j(e.horizontalPadding, 20),
                n = j(e.verticalPadding, 20);
              return {
                zIndexBase: 2147483e3,
                horizontalPaddingPx: t,
                verticalPaddingPx: n,
                fontSansSerif: -1 !== y.indexOf(e.locale) ? x : v,
                fontMono: 'Courier, monospace',
                messengerWidthPx: 376,
                messengerMaxHeightPx: 704,
                mobileMaxWidthPx: 667,
                chatMarginPx: 0,
                noteMarginPercent: 7.31,
                tourPostMarginPx: 24,
                postMarginPercent: 15.27,
                postHeaderHeightPx: 72,
                postFooterHeightPx: 56,
                pointerFooterHeightPx: 49,
                chatBodyLineHeight: '1.4',
                noteBodyLineHeight: '1.4',
                postBodyLineHeight: '1.4',
                notificationHeightPx: 120,
                notificationBorderRadiusPx: 5,
                notificationBoxShadow: '0 2px 8px 0 rgba(35,47,53,0.09)',
                cardsHoverShadow: '0 8px 20px -10px rgba(0, 0, 0, 0.10)',
                chatComposerHeightPx: 52,
                borderlessComposerHeightPx: 56,
                composerShadowColor: 'rgba(0, 0, 0, 0.1)',
                newConversationButtonBottomPx: 32,
                launcherOffsetBottomPaddingPx: 80,
                launcherBadgePaddingLeftPx: 45,
                messengerBorderRadiusPx: 8,
                messengerHeaderBoxShadow: '0px 1px 4px rgba(0,0,0,0.2)',
                defaultHorizontalPaddingPx: 20,
                defaultVerticalPaddingPx: 20,
                borderlessIframePaddingPx: 10,
                borderlessIframePaddingLeftPx: 64,
                borderlessConversationWidthPx: 340,
                borderlessAvatarOffsetWidthPx: 50,
                messengerSheetZIndex: 2147483003,
                messengerAlertsZIndex: 2147483004,
                messengerSheetLoaderZIndex: 2147483005,
                discoveryLauncherPaddingPx: 5,
                discoveryLauncherHorizontalPaddingPx: t - 5,
                discoveryLauncherVerticalPaddingPx: n - 5,
                isLeftAlign: 'left' === e.alignment,
                isMobile: e.isMobileBrowser || e.isMobileSize,
                scrollBarsWidthPx: Object(h.a)(),
                visibleScrollBars: 0 !== Object(h.a)(),
                suggestionsMaxHeightWithExpandedHeaderPx: 316,
                isRtlLocale: Object(f.b)(e.locale),
              };
            })(e)
          ),
        k = n(486),
        S = n(625),
        _ = n.n(S),
        P = n(574),
        T = n.n(P),
        B = n(764),
        N = n.n(B),
        A = n(765),
        M = n.n(A);
      const I = -1,
        z = (e, t) => {
          if (e === I) return M.a.transform(t);
        },
        L = T()((e) => _()({ key: 'intercom', container: e })),
        R = T()((e) => _()({ key: 'intercom', container: e, stylisPlugins: [z] })),
        F = T()((e) =>
          _()({ key: 'intercom', container: e, stylisPlugins: [N()('.intercom-namespace')] })
        );
      function D(e) {
        const { target: t, locale: n, isSandbox: r, children: a } = e;
        let o;
        return (
          (o = r ? (Object(f.b)(n) ? R(t) : L(t)) : F(t)),
          l.a.createElement(k.CacheProvider, { value: o }, a)
        );
      }
      var H = n(461),
        W = n(772),
        q = n.n(W),
        U = n(773),
        V = n.n(U),
        G = n(774),
        $ = n.n(G),
        X = n(775),
        Y = n.n(X);
      const K = () =>
          Object(H.b)(
            "@font-face{font-family:'intercom-font';font-display:",
            'swap',
            ";src:url('",
            q.a,
            "') format('woff');}@font-face{font-family:'intercom-font';font-display:",
            'swap',
            ";src:url('",
            V.a,
            "') format('woff');font-weight:bold;}@font-face{font-family:'intercom-font';font-display:",
            'swap',
            ";src:url('",
            $.a,
            "') format('woff');font-style:italic;}@font-face{font-family:'intercom-font';font-display:",
            'swap',
            ";src:url('",
            Y.a,
            "') format('woff');font-weight:bold;font-style:italic;}"
          ),
        Z = (e) =>
          Object(H.b)(
            'font-family:',
            e.fontSansSerif,
            ';font-size-adjust:none;font-size:100%;font-style:normal;letter-spacing:normal;font-stretch:normal;font-variant:normal;font-weight:normal;text-align:left;text-align-last:initial;text-decoration:none;text-emphasis:none;text-indent:0;text-justify:auto;text-shadow:none;text-transform:none;text-wrap:normal;'
          ),
        J = (e) =>
          Object(H.b)(
            'a,a:visited,.intercom-anchor{color:',
            e.linkColor,
            ';cursor:pointer;}a:hover,.intercom-anchor:hover{color:',
            e.linkColorHover,
            ';}a:active,.intercom-anchor:active{color:',
            e.linkColorActive,
            ';}'
          );
      var Q = { name: 'yrqfbx', styles: '@media print{.intercom-app{display:none;}}' };
      var ee = {
        name: '1j218w8',
        styles:
          'html.intercom-mobile-messenger-active,html.intercom-mobile-messenger-active > body,html.intercom-modal-open,#intercom-container-body{overflow:hidden !important;}html.intercom-mobile-messenger-active,html.intercom-mobile-messenger-active > body{position:static !important;}html.intercom-mobile-messenger-active > body{height:0 !important;margin:0 !important;}html.intercom-mobile-messenger-active.intercom-mobile-messenger-ios-15 > body{height:100vh !important;}iframe#intercom-frame{position:absolute !important;opacity:0 !important;width:1px !important;height:1px !important;top:0 !important;left:0 !important;border:none !important;display:block !important;z-index:-1 !important;}',
      };
      var te = n(96);
      const ne = (e) =>
          Object(H.b)(
            '*:focus,.intercom-messenger:focus:after{outline-color:',
            te.a[e],
            ';}.intercom-launcher:focus{outline:none;box-shadow:inset 0 0 0 5px ',
            te.a[e],
            ';}'
          ),
        re = (e) => {
          return Object(H.b)(
            e.tabNavigation &&
              Object(H.b)(
                '*:focus{outline-style:solid;outline-style:auto;outline-width:5px;}',
                ne(e.accessibilityTheme),
                ' ',
                ((t = e.secondaryAccessibilityTheme),
                Object(H.b)(
                  '.intercom-messenger-sheet-header,.intercom-messenger-header{',
                  ne(t),
                  '}'
                ))
              ),
            " @media (-ms-high-contrast:active){.intercom-launcher{background:black;border:1px solid white;}[role='button'],button{border:1px solid white !important;background:black !important;color:white !important;&:hover,&:focus,&:active{border:1px solid white !important;background:black !important;color:white !important;}*{color:white !important;}}}"
          );
          var t;
        },
        ae = (e) =>
          Object(H.b)(
            K(),
            ' ',
            ((e) =>
              Object(H.b)(
                'div,span,iframe{',
                Z(e),
                " alignment-baseline:baseline;animation:none 0 ease 0 1 normal;animation-play-state:running;appearance:normal;azimuth:center;backface-visibility:visible;background:none 0 0 auto repeat scroll padding-box transparent;background-color:transparent;background-image:none;baseline-shift:baseline;bookmark-label:content();bookmark-level:none;bookmark-state:open;border:0 none transparent;border-radius:0;bottom:auto;box-decoration-break:slice;box-shadow:none;box-sizing:content-box;break-after:auto;break-before:auto;break-inside:auto;caption-side:top;clear:none;clip:auto;color:inherit;color-profile:auto;column-count:auto;column-fill:balance;column-gap:normal;column-rule:medium medium #1f1f1f;column-span:1;column-width:auto;content:normal;counter-increment:none;counter-reset:none;cursor:auto;direction:ltr;display:inline;dominant-baseline:auto;elevation:level;empty-cells:show;float:none;float-offset:0 0;hanging-punctuation:none;height:auto;hyphenate-character:auto;hyphens:manual;image-orientation:auto;image-rendering:auto;image-resolution:normal;left:auto;line-height:inherit;list-style:disc outside none;margin:0;marks:none;max-height:none;max-width:none;min-height:0;min-width:0;nav-down:auto;nav-index:auto;nav-left:auto;nav-right:auto;nav-up:auto;opacity:1;orphans:2;outline:invert none medium;outline-offset:0;overflow:visible;padding:0;page:auto;page-break-after:auto;page-break-before:auto;page-break-inside:auto;perspective:none;perspective-origin:50% 50%;pointer-events:auto;position:static;quotes:none;resize:none;right:auto;ruby-align:auto;ruby-overhang:none;ruby-position:before;size:auto;string-set:none;table-layout:auto;top:auto;transform:none;transform-origin:50% 50% 0;transform-style:flat;transition:all 0 ease 0;unicode-bidi:normal;vertical-align:baseline;white-space:normal;widows:2;width:auto;word-break:normal;word-spacing:normal;word-wrap:normal;z-index:auto;text-align:start;-ms-filter:'progid:DXImageTransform.Microsoft.gradient(enabled=false)';-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}*:focus:not(:focus-visible){outline:none;}div,frame{display:block;}.intercom-app{line-height:1;}select{",
                Z(e),
                '}'
              ))(e),
            ' ',
            Q,
            ' ',
            J(e)
          ),
        oe = (e) =>
          Object(H.b)(
            K(),
            ' ',
            ((e) =>
              Object(H.b)(
                'html{',
                Z(e),
                " box-sizing:content-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-ms-filter:'progid:DXImageTransform.Microsoft.gradient(enabled=false)';line-height:1;}button,textarea,input,iframe{",
                Z(e),
                ' margin:0;padding:0;appearance:normal;background:none 0 0 auto repeat scroll padding-box transparent;background-color:transparent;background-image:none;border:none;border-radius:0;box-sizing:content-box;line-height:inherit;color:inherit;min-width:0;}a{',
                Z(e),
                ' line-height:inherit;}p{margin:0;padding:0;}h1,h2,h3,h4,h5,h6{',
                Z(e),
                ' margin:0;padding:0;line-height:inherit;}ol,ul,li{',
                Z(e),
                ' margin:0;padding:0;display:block;}li{display:list-item;}b,strong{font-weight:700;}b > i,strong > i,b > em,strong > em,i > b,i > strong,em > b,em > strong{font-weight:bold;font-style:italic;}textarea,input{cursor:text;}textarea::selection,input::selection{background-color:#b3d4fc;}textarea::placeholder,input::placeholder{',
                Z(e),
                " background-color:inherit;color:inherit;}input[type='checkbox'],input[type='radio']{cursor:default;}pre{",
                Z(e),
                " margin:0;padding:0;}img{height:auto;}a,a *,a span,button,button *,button span,input[type='submit'],input[type='reset']{cursor:pointer;}*:focus{outline:none;}a:link,a:visited,a:hover,a:active{color:inherit;background:transparent;text-shadow:none;}button::-moz-focus-inner{border:0;padding:0;}#intercom-container-body{overflow:hidden;}#intercom-container-body.intercom-container-body-no-margin{margin:0;}"
              ))(e),
            ' ',
            J(e),
            ' ',
            re(e)
          ),
        ie = () => Object(H.b)(ee);
      var se = (e) => {
          const { theme: t, isSandbox: n } = e;
          return n
            ? l.a.createElement(H.a, { styles: oe(t) })
            : l.a.createElement(
                l.a.Fragment,
                null,
                l.a.createElement(H.a, { styles: ae(t) }),
                l.a.createElement('style', null, `${ie().styles}`)
              );
        },
        le = n(495),
        ce = n(17);
      function de(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function pe(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? de(Object(n), !0).forEach(function (t) {
                ue(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : de(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function ue(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const me = {},
        he = (e) => {
          const { isSandbox: t, children: n, target: r, locale: a } = e,
            [o, d] = Object(s.useState)(Object(b.i)()),
            [p, u] = Object(s.useState)(Object(g.b)()),
            m = pe(
              pe(
                pe({}, Object(s.useContext)(le.a)),
                ((e) => {
                  const {
                    locale: t,
                    isLauncherEnabled: n,
                    tabNavigation: r,
                    accessibilityTheme: a,
                    secondaryAccessibilityTheme: o,
                    isLightweightAppActive: i,
                  } = e;
                  return {
                    locale: t,
                    isLauncherEnabled: n,
                    tabNavigation: r,
                    accessibilityTheme: a,
                    secondaryAccessibilityTheme: o,
                    isLightweightAppActive: i,
                  };
                })(e)
              ),
              {},
              { isMobileBrowser: o, isMobileSize: p }
            ),
            h =
              ((f = m),
              Object.values(f)
                .filter(
                  (e) =>
                    ('string' == typeof e || 'number' == typeof e || 'boolean' == typeof e) && e
                )
                .join(''));
          var f;
          const v = me[h] || E(m);
          return (
            me[h] || (me[h] = v),
            Object(s.useEffect)(() => {
              const e = i()(() => {
                d(Object(b.i)()), u(Object(g.b)());
              }, 150);
              return Object(ce.a)(e), () => Object(ce.f)(e);
            }, []),
            l.a.createElement(
              D,
              { target: r, isSandbox: t, locale: a },
              l.a.createElement(
                c.ThemeProvider,
                { theme: v },
                l.a.createElement(se, { theme: v, isSandbox: t }),
                n
              )
            )
          );
        };
      he.defaultProps = { isSandbox: !0 };
      var be = he;
      t.a = Object(r.connect)((e) => {
        var t;
        const n = e.user ? e.user.locale : 'en',
          r = Object(a.a)(e),
          {
            accessibility: {
              tabNavigation: o = !1,
              accessibilityTheme: i = 'default',
              secondaryAccessibilityTheme: s = 'default',
            } = {},
          } = e;
        return {
          locale: n,
          isLauncherEnabled: r,
          tabNavigation: o,
          accessibilityTheme: i,
          secondaryAccessibilityTheme: s,
          isLightweightAppActive:
            (null === (t = e.lightweightApp) || void 0 === t ? void 0 : t.isActive) || !1,
        };
      })(be);
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(493),
        i = n(466),
        s = n(503),
        l = n(461),
        c = n(468),
        d = n(463);
      const p = Object(l.c)(c.a, { target: 'e1u5aocb0' })(
        'width:100%;height:100%;top:0;left:0;position:fixed;',
        ({ theme: e, isBelowMessenger: t }) => {
          const n = t ? -1 : 3;
          return Object(l.b)('z-index:', Object(d.m)(n, e), ';');
        }
      );
      class modal_ModalFrame extends r.Component {
        renderCSSTransition(e) {
          return this.props.children
            ? a.a.createElement(
                i.CSSTransition,
                { classNames: 'intercom-modal', timeout: { enter: 0, exit: 200 } },
                a.a.createElement(a.a.Fragment, null, this.props.children(e))
              )
            : null;
        }
        render() {
          return a.a.createElement(
            p,
            { frameName: 'intercom-modal-frame', isBelowMessenger: this.props.isBelowMessenger },
            (e) =>
              a.a.createElement(
                'span',
                null,
                a.a.createElement(i.TransitionGroup, { appear: !0 }, this.renderCSSTransition(e)),
                a.a.createElement(s.a, { appWindow: e })
              )
          );
        }
      }
      var u = n(496);
      var m = ({ isBelowMessenger: e }) =>
        `\n    width: 100%;\n    height: 100%;\n    top: 0;\n    left: 0;\n    position: fixed;\n    z-index: ${
          e ? '2147483000' : '2147483004'
        };\n  `;
      class modal_CrossOriginModalFrame extends r.Component {
        renderCSSTransition(e) {
          return this.props.children
            ? a.a.createElement(
                i.CSSTransition,
                { classNames: 'intercom-modal', timeout: { enter: 0, exit: 200 } },
                a.a.createElement(a.a.Fragment, null, this.props.children(e))
              )
            : null;
        }
        render() {
          return a.a.createElement(
            u.a,
            { name: 'modal', styles: m({ isBelowMessenger: this.props.isBelowMessenger }) },
            a.a.createElement(i.TransitionGroup, { appear: !0 }, this.renderCSSTransition(window))
          );
        }
      }
      var h = n(462),
        b = n(21),
        g = n(512),
        f = n(39),
        v = n(835),
        x = n.n(v),
        y = n(836),
        j = n.n(y),
        O = { name: '10i0qbj', styles: 'position:fixed;top:0;right:0;bottom:0;left:0;' };
      const C = Object(l.c)('div', { target: 'e207j6p0' })(
          'z-index:',
          Object(d.m)(3),
          ';',
          ({ fixed: e }) => e && O
        ),
        w = Object(l.c)('div', { target: 'e207j6p1' })({
          name: '140ok15',
          styles: 'position:relative;width:100%;height:100%;outline-offset:-5px;',
        }),
        E = Object(l.c)('div', { target: 'e207j6p2' })(
          'position:absolute;top:0;right:0;bottom:0;left:0;background-color:',
          Object(l.f)('overlayColor'),
          ';opacity:0;outline-offset:-5px;.intercom-modal-enter-active &,.intercom-modal-enter-done &{opacity:1;transition:opacity 200ms;}.intercom-modal-exit &{opacity:1;}.intercom-modal-exit.intercom-modal-exit-active &{opacity:0;transition:opacity 200ms;}',
          ({ top: e }) => e && Object(l.b)('z-index:', Object(d.m)(3), ';'),
          ' .intercom-post{opacity:0;transform:translateY(20px);}'
        ),
        k = Object(l.c)('div', { target: 'e207j6p3' })(
          'width:19px;height:19px;position:absolute;top:30px;right:40px;',
          Object(d.b)(x.a, j.a, '19px', '19px'),
          ';&:hover{cursor:pointer;}.intercom-modal-exit.intercom-modal-exit-active &{opacity:0;transition:opacity 200ms;}'
        );
      var S = n(5);
      function _(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class modal_content_ModalContent extends r.Component {
        constructor(...e) {
          super(...e),
            _(this, 'node', null),
            _(this, 'scrollArea', null),
            _(this, 'focusTrap', null),
            _(this, 'handleEscape', (e) => {
              Object(b.p)(e) && this.handleClose();
            }),
            _(this, 'handleClose', (e) => {
              e && e.preventDefault && e.preventDefault(),
                e && e.stopPropagation && e.stopPropagation();
              const { onClose: t, returnFocus: n } = this.props;
              t && t(), n && setTimeout(() => n(), 300);
            });
        }
        componentDidMount() {
          const { modalFrameWindow: e, tabNavigation: t } = this.props;
          e &&
            ((this.focusTrap = new g.a({ document: e.document, windowToTrapFocusWithin: e })),
            (this.scrollArea = e.document.querySelector('.intercom-scrollable')),
            Object(b.c)(e, 'keydown', this.handleEscape)),
            this.scrollArea ? this.scrollArea.focus() : this.node && this.node.focus(),
            t &&
              !Object(S.a)() &&
              Object(b.b)(window.parent.document.documentElement, 'intercom-modal-open');
        }
        componentWillUnmount() {
          const { modalFrameWindow: e } = this.props;
          e && Object(b.y)(e, 'keydown', this.handleEscape),
            this.focusTrap && this.focusTrap.restore(),
            Object(S.a)() ||
              Object(b.x)(window.parent.document.documentElement, 'intercom-modal-open');
        }
        render() {
          const { additionalStyle: e, showCloseOverlay: t, children: n } = this.props;
          return a.a.createElement(
            C,
            { className: 'intercom-modal', fixed: !e, style: e || {} },
            a.a.createElement(
              w,
              { tabIndex: '0', ref: (e) => (this.node = e) },
              a.a.createElement(E, {
                'top': !!e,
                'onClick': this.handleClose,
                'tabIndex': '-1',
                'aria-hidden': !0,
              }),
              t
                ? a.a.createElement(k, {
                    'onClick': this.handleClose,
                    'aria-label': Object(f.e)('close'),
                  })
                : null,
              n
            )
          );
        }
      }
      _(modal_content_ModalContent, 'defaultProps', { showCloseOverlay: !0 });
      var P = Object(h.connect)((e) => ({ tabNavigation: e.accessibility.tabNavigation }))(
          modal_content_ModalContent
        ),
        T = n(537);
      function B() {
        return (B =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function N(e, t) {
        if (null == e) return {};
        var n,
          r,
          a = (function (e, t) {
            if (null == e) return {};
            var n,
              r,
              a = {},
              o = Object.keys(e);
            for (r = 0; r < o.length; r++) (n = o[r]), t.indexOf(n) >= 0 || (a[n] = e[n]);
            return a;
          })(e, t);
        if (Object.getOwnPropertySymbols) {
          var o = Object.getOwnPropertySymbols(e);
          for (r = 0; r < o.length; r++)
            (n = o[r]),
              t.indexOf(n) >= 0 ||
                (Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n]));
        }
        return a;
      }
      n.d(t, 'a', function () {
        return 200;
      });
      let A;
      t.b = (e) => {
        const [t, n] = Object(r.useState)(!0),
          { children: i, isBelowMessenger: s, closeCallback: l, returnFocus: c } = e,
          d = N(e, ['children', 'isBelowMessenger', 'closeCallback', 'returnFocus']),
          p = (e, { shouldReturnFocus: t } = { shouldReturnFocus: !0 }) => {
            e && e.stopPropagation && e.stopPropagation(),
              n(!1),
              (A = setTimeout(() => {
                n(!0), l && l(e), c && t && c();
              }, 200));
          };
        if ((Object(r.useEffect)(() => () => clearTimeout(A), []), Object(S.a)()))
          return a.a.createElement(
            modal_CrossOriginModalFrame,
            null,
            t
              ? (e) =>
                  a.a.createElement(
                    P,
                    B({}, d, { returnFocus: c, onClose: p, modalFrameWindow: e }),
                    i({ onClose: p })
                  )
              : null
          );
        {
          const e =
              parent.document.querySelector('#intercom-modal-container') ||
              document.querySelector('#intercom-modal-container'),
            n =
              parent.document.querySelector('#intercom-css-container') ||
              document.querySelector('#intercom-css-container');
          return Object(o.createPortal)(
            a.a.createElement(
              T.a,
              { target: n, isSandbox: !1 },
              a.a.createElement(
                modal_ModalFrame,
                { isBelowMessenger: s },
                t
                  ? (e) =>
                      a.a.createElement(
                        P,
                        B({}, d, { returnFocus: c, onClose: p, modalFrameWindow: e }),
                        i({ onClose: p })
                      )
                  : null
              )
            ),
            e
          );
        }
      };
    },
    function (e, t, n) {
      'use strict';
      var r = n(52),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(463),
        l = n(649),
        c = n(163),
        d = n(81);
      function p() {
        return (p =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function u(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function m(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? u(Object(n), !0).forEach(function (t) {
                h(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : u(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function h(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class input_Input extends o.PureComponent {
        constructor(...e) {
          super(...e),
            h(this, 'state', { value: this.props.value || '' }),
            h(this, 'handleChange', (e) => {
              const t = e.target.value.trim();
              this.setState({ value: t }), this.props.onChange(t);
            }),
            h(this, 'handleClick', () => {
              const e = Object(c.a)(window);
              if (!e || this.props.disabled) return;
              const t = {
                type: 'INPUT_TEXT',
                payload: {
                  currentValue: this.state.value,
                  id: this.props.id,
                  label: this.props.label,
                  placeholder: this.props.placeholder,
                  messengerAppId: this.props.messengerAppId,
                },
              };
              e.handleAction(JSON.stringify(t));
            });
        }
        render() {
          const {
              value: e,
              placeholder: t,
              disabled: n,
              autoFocus: r,
              onFocus: a,
              onKeyDown: o,
              isFailed: u,
              ariaLabel: h,
              ariaLabelledby: b,
              type: g,
            } = this.props,
            f = m(
              m({}, u ? { 'aria-invalid': !0 } : {}),
              {},
              { 'aria-labelledby': b, 'aria-label': h || t }
            );
          return Object(c.a)(window)
            ? i.a.createElement(
                s.a,
                null,
                i.a.createElement(l.a, {
                  onClick: this.handleClick,
                  tabIndex: '-1',
                  role: 'presentation',
                }),
                i.a.createElement(
                  'input',
                  p(
                    {
                      type: g,
                      autoComplete: 'email' === g ? 'email' : 'off',
                      disabled: n,
                      defaultValue: e,
                      value: e,
                      placeholder: t,
                      autoFocus: r,
                      onFocus: a,
                      onKeyDown: o,
                      onChange: this.handleChange,
                      onBlur: d.d,
                    },
                    f
                  )
                )
              )
            : i.a.createElement(
                'input',
                p(
                  {
                    type: g,
                    autoComplete: 'email' === g ? 'email' : 'off',
                    disabled: n,
                    defaultValue: e,
                    placeholder: t,
                    autoFocus: r,
                    onFocus: a,
                    onKeyDown: o,
                    onChange: this.handleChange,
                    onBlur: d.d,
                  },
                  f
                )
              );
        }
      }
      h(input_Input, 'defaultProps', { disabled: !1, autoFocus: !0, onChange: () => {} });
      var b = n(39),
        g = n(650),
        f = n(584);
      function v() {
        return i.a.createElement(
          f.a,
          { 'focusable': 'false', 'aria-hidden': 'true' },
          i.a.createElement('path', {
            d: 'M1 5.485l5.194 4.706L13.36.874',
            strokeWidth: '2.5',
            fill: 'none',
            fillRule: 'evenodd',
          })
        );
      }
      var x = n(472),
        y = n(495),
        j = n(585);
      function O() {
        return (O =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function C(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function w(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class submittable_input_SubmittableInput extends o.PureComponent {
        constructor(...e) {
          super(...e),
            w(this, 'state', { value: this.props.value || '' }),
            w(this, 'handleChange', (e) => {
              this.setState({ value: e }), this.props.onChange(e);
            }),
            w(this, 'handleSubmit', () => {
              if (this.isDisabled()) return;
              const { value: e } = this.state;
              this.props.onSubmit(e);
            }),
            w(this, 'handleKeyDown', (e) => {
              13 === e.keyCode && (e.preventDefault(), this.handleSubmit());
            });
        }
        isDisabled() {
          const { saveState: e, disabled: t } = this.props;
          return t || 'saving' === e || 'saved' === e;
        }
        renderLoadingSpinner() {
          const { isPrimaryColorLight: e } = this.context || {},
            t = e ? 'black' : 'white';
          return i.a.createElement(x.a, { color: t, size: 'small' });
        }
        render() {
          const {
              value: e,
              saveState: t,
              placeholder: n,
              id: r,
              label: a,
              autoFocus: o,
              onFocus: s,
              ariaLabel: l,
              ariaLabelledby: c,
              buttonAriaLabel: d,
              buttonAriaLabelledby: p,
              type: u,
              disabled: m,
              messengerAppId: h,
            } = this.props,
            f = 'saving' === t,
            x = (function (e) {
              for (var t = 1; t < arguments.length; t++) {
                var n = null != arguments[t] ? arguments[t] : {};
                t % 2
                  ? C(Object(n), !0).forEach(function (t) {
                      w(e, t, n[t]);
                    })
                  : Object.getOwnPropertyDescriptors
                  ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
                  : C(Object(n)).forEach(function (t) {
                      Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                    });
              }
              return e;
            })(
              {
                'aria-label': f ? Object(b.e)('loading') : d || Object(b.e)('submit'),
                'aria-labelledby': p,
              },
              f ? { role: 'progressbar' } : {}
            );
          return i.a.createElement(
            'div',
            null,
            i.a.createElement(input_Input, {
              value: e,
              key: e,
              placeholder: n,
              id: r,
              label: a,
              ariaLabel: l,
              ariaLabelledby: c,
              type: u,
              disabled: this.isDisabled(),
              autoFocus: o,
              onChange: this.handleChange,
              onSubmit: this.handleSubmit,
              onKeyDown: this.handleKeyDown,
              onFocus: s,
              isFailed: 'failed' === t,
              messengerAppId: h,
            }),
            i.a.createElement(
              j.a,
              O({ disabled: m && !f, isLoading: f, onClick: this.handleSubmit }, x),
              i.a.createElement(g.a, { disabled: this.isDisabled(), loading: f }),
              f ? this.renderLoadingSpinner() : null
            ),
            i.a.createElement(v, null)
          );
        }
      }
      w(submittable_input_SubmittableInput, 'contextType', y.a),
        w(submittable_input_SubmittableInput, 'defaultProps', {
          saveState: 'unsaved',
          disabled: !1,
          autoFocus: !0,
          errorMessage: Object(b.e)('something_is_wrong'),
          onChange: () => {},
        });
      var E = n(506),
        k = n(652);
      function S() {
        return (S =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function _(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'a', function () {
        return validating_input_ValidatingInput;
      });
      class validating_input_ValidatingInput extends o.PureComponent {
        constructor(...e) {
          super(...e),
            _(this, 'state', {
              value: this.props.value || '',
              saveState: this.props.saveState,
              isInvalid: 'failed' === this.props.saveState,
              prevProps: this.props,
            }),
            _(this, 'handleChange', (e) => {
              this.setState({ saveState: 'unsaved', isInvalid: !1 }), this.props.onChange(e);
            }),
            _(this, 'handleSubmit', (e) => {
              this.props.formatter && (e = this.props.formatter(e)),
                this.props.isValid(e)
                  ? this.props.onSubmit(e)
                  : this.setState({ saveState: 'failed', isInvalid: !0 });
            });
        }
        static getDerivedStateFromProps(e, t) {
          return !t || a()(e, t.prevProps)
            ? null
            : {
                value: e.value || t.value || '',
                saveState: e.saveState,
                isInvalid: 'failed' === e.saveState,
                prevProps: e,
              };
        }
        autoFocus() {
          const { isBorderless: e, isReplyType: t, autoFocus: n } = this.props;
          return (!e || !t) && n;
        }
        buildInputProps() {
          const {
            saveState: e,
            value: t,
            placeholder: n,
            id: r,
            label: a,
            disabled: o,
            onFocus: i,
            ariaLabel: s,
            ariaLabelledby: l,
            type: c,
            messengerAppId: d,
          } = this.props;
          return {
            value: t,
            key: t,
            placeholder: n,
            id: r,
            label: a,
            ariaLabel: s,
            ariaLabelledby: l,
            type: c,
            saveState: this.state.saveState,
            disabled: o,
            autoFocus: this.autoFocus(),
            onFocus: i,
            onChange: this.handleChange,
            messengerAppId: d,
            isFailed: 'failed' === e || this.state.isInvalid,
          };
        }
        render() {
          const e = this.buildInputProps(),
            { isInvalid: t } = this.state,
            {
              validationErrorMessage: n,
              hideErrorMessage: r,
              isSubmittable: a,
              buttonAriaLabel: o,
              buttonAriaLabelledby: s,
              isBorderless: l,
              isReplyType: c,
              isNotificationChannel: d,
              saveState: p,
            } = this.props;
          return i.a.createElement(
            'div',
            null,
            i.a.createElement(
              k.a,
              {
                isBorderless: l,
                isReplyType: c,
                isNotificationChannel: d,
                isSaving: 'saving' === p,
                isSaved: 'saved' === p,
                isFailed: 'failed' === p || this.state.isInvalid,
              },
              a
                ? i.a.createElement(
                    submittable_input_SubmittableInput,
                    S({}, e, {
                      onSubmit: this.handleSubmit,
                      buttonAriaLabel: o,
                      buttonAriaLabelledby: s,
                    })
                  )
                : i.a.createElement(input_Input, e)
            ),
            t && !r ? i.a.createElement(E.a, { errorMessage: n }) : null
          );
        }
      }
      _(validating_input_ValidatingInput, 'defaultProps', {
        saveState: 'unsaved',
        type: 'text',
        disabled: !1,
        hideErrorMessage: !1,
        validationErrorMessage: '',
        isBorderless: !1,
        isReplyType: !1,
        isNotificationChannel: !1,
        isSubmittable: !0,
        autoFocus: !0,
        onChange: () => {},
      });
    },
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return i;
      }),
        n.d(t, 'd', function () {
          return s;
        }),
        n.d(t, 'b', function () {
          return l;
        }),
        n.d(t, 'a', function () {
          return c;
        });
      var r = n(527),
        a = n.n(r);
      let o;
      const i = (e, t, n, r, o) => {
          let i = e;
          return (
            r
              ? o && (i = a.a.substituteUnicodeForAsciiEmojis(i))
              : (i = a.a.fallbackImage(t, i, n)),
            i
          );
        },
        s = (e) => (a.a.isSupportedAscii(e) ? a.a.unicodeFromAscii(e) : e),
        l = () => {
          if (void 0 === o)
            try {
              o = a.a.hasNativeSupport(document);
            } catch (e) {
              return !1;
            }
          return o;
        },
        c = (e) => {
          try {
            return a.a.identifierFromUnicode(e).replace(/(_|-)/gi, ' ');
          } catch (e) {
            return '';
          }
        };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      }),
        n.d(t, 'b', function () {
          return i;
        });
      var r = n(461),
        a = { name: 'ofor9b', styles: 'height:74px;' };
      const o = Object(r.c)('div', { target: 'eytam2e0' })(
          'height:45px;background-color:',
          Object(r.f)('inputBackground'),
          ';padding:5px;border-radius:0 0 6px 6px;text-align:center;overflow:hidden;',
          ({ hasPrompt: e }) => e && a
        ),
        i = Object(r.c)('div', { target: 'eytam2e1' })({
          name: '1va3o2j',
          styles: 'padding-top:9px;padding-bottom:4px;text-align:center;',
        });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      });
      var r = n(461),
        a = { name: '1e1s2qs', styles: 'background-color:#f1c743;' };
      const o = Object(r.c)('div', { target: 'e1rcup4k0' })(
        'width:8px;height:8px;background-color:#7ed321;border:2px solid ',
        Object(r.f)('appSecondaryColor'),
        ';margin:0 auto;border-radius:50%;display:inline-block;vertical-align:bottom;right:3px;bottom:3px;position:absolute;',
        ({ isActive: e }) => !e && a
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(460),
        a = n.n(r),
        o = n(515);
      function i(e) {
        const t = Object(r.useRef)(null),
          { children: n, duration: i, appearDelay: s, disableInitialAnimation: l } = e,
          c = Object(o.a)(n),
          [d, p] = Object(r.useState)(!1),
          [u, m] = Object(r.useState)(null),
          [h, b] = Object(r.useState)(l),
          g = i + 100,
          f = s + i + 100;
        Object(r.useLayoutEffect)(() => {
          (null == n ? void 0 : n.key) === (null == c ? void 0 : c.key) ||
            u ||
            (clearTimeout(t.current),
            null != c && c.key
              ? (m(c),
                p(0 === s),
                setTimeout(() => m(null), g),
                (t.current = setTimeout(() => p(!0), f)))
              : p(!0));
        }, [n, c, u, s, g, f]),
          Object(r.useEffect)(() => {
            setTimeout(() => b(!1), g + f);
          }, [g, f]);
        const v = { transition: `opacity ${i}ms ease-in-out`, opacity: h ? 1 : u ? 0 : d ? 1 : 0 };
        return a.a.createElement('div', { style: v }, u || n);
      }
      i.defaultProps = { duration: 200, appearDelay: 0, disableInitialAnimation: !1 };
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r);
      t.a = () =>
        a.a.createElement(
          'svg',
          {
            width: '16',
            height: '16',
            viewBox: '0 0 16 16',
            fill: 'none',
            xmlns: 'http://www.w3.org/2000/svg',
            role: 'presentation',
          },
          a.a.createElement('path', {
            d: 'M6.5 3.5L11 8L6.5 12.5',
            stroke: '#000000',
            strokeWidth: '1.75',
            strokeLinecap: 'square',
          })
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return s;
      }),
        n.d(t, 'a', function () {
          return l;
        });
      var r = n(37),
        a = n.n(r),
        o = n(162),
        i = n.n(o);
      const s = (...e) => {
          const t = i()(...e);
          return function (e) {
            return e.persist(), t(e);
          };
        },
        l = (...e) => {
          const t = a()(...e);
          return function (e) {
            return e.persist(), t(e);
          };
        };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      });
      var r = n(461),
        a = {
          name: '1jshjwt',
          styles:
            'filter:grayscale(0%);transform:scale(1.32);&:hover{transform:scale(1.32);}&:active{transform:scale(1.32);}&:focus{outline-offset:-5px;}',
        };
      const o = Object(r.c)('span', { target: 'ei5k0et0' })(
        'width:50px;height:48px;display:inline-block;text-align:center;font-size:32px;transition:transform 0.16s cubic-bezier(0.65,0.61,0.18,1.8) 0.02s,filter 0.32s linear;cursor:pointer;transform-origin:50% 60%;position:relative;top:2px;span{cursor:pointer;line-height:51px;}&:hover{transform:scale(1.32);transition:transform 0.04s;}&:active{transform:scale(1.4);transition:transform 0.04s;}',
        ({ hasSelectedReaction: e, isSelected: t }) =>
          e && Object(r.b)('filter:grayscale(100%);', t && a)
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      });
      var r = n(461),
        a = {
          name: '1lhzvom',
          styles: 'border-radius:5px;margin-bottom:10px;position:relative;z-index:0;',
        };
      const o = Object(r.c)('div', { target: 'ed137mj0' })(({ isVideoFileBlock: e }) => e && a);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return s;
      }),
        n.d(t, 'a', function () {
          return c;
        });
      var r = n(56),
        a = n(9),
        o = n(5),
        i = n(26);
      const s = (e) => {
          d(e) &&
            (Object(o.a)()
              ? Object(i.h)(e, !!p())
              : p()
              ? window.open(e)
              : ((e) => {
                  var t;
                  const n = parent.window.open();
                  n &&
                    ((n.opener = null), null === (t = n.location) || void 0 === t || t.assign(e));
                })(e));
        },
        l = (e) => {
          return (
            d(e) &&
            (null === (t = window) || void 0 === t
              ? void 0
              : null === (n = t.parent) || void 0 === n
              ? void 0
              : null === (a = n.location) || void 0 === a
              ? void 0
              : a.hostname) !== Object(r.b)(e).hostname
          );
          var t, n, a;
        },
        c = (e) => {
          const t = e.getAttribute('href'),
            n = e.getAttribute('data-via') || t;
          return (
            !(e.className.split(' ').indexOf('intercom-link-card') >= 0) &&
            0 !== t.indexOf('mailto:') &&
            (e.setAttribute('href', n), e.setAttribute('target', l(t) ? '_blank' : '_parent'), !1)
          );
        },
        d = (e) => null != e && '' !== e,
        p = () => a.a.isElectron() || a.a.isNativeMobile() || a.a.isIOSFirefox();
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('div', { target: 'e1cmyxd40' })(
        'position:absolute;/* @noflip */ left:0;bottom:10px;',
        ({ theme: e, isBorderless: t }) =>
          t &&
          Object(r.b)(
            'position:absolute;bottom:0;/* @noflip */ left:0;box-shadow:',
            e.notificationBoxShadow,
            ';border-radius:100%;'
          )
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return c;
      }),
        n.d(t, 'a', function () {
          return d;
        }),
        n.d(t, 'b', function () {
          return m;
        }),
        n.d(t, 'd', function () {
          return b;
        }),
        n.d(t, 'c', function () {
          return g;
        });
      var r = n(461),
        a = n(463),
        o = n(588),
        i = n.n(o),
        s = n(589),
        l = n.n(s);
      const c = Object(r.d)('0%{opacity:0;}50%{opacity:0;}100%{opacity:1;}'),
        d = Object(r.c)('div', { target: 'e1hvvs530' })(
          'padding-top:10px;max-height:',
          Object(r.f)('notificationHeightPx'),
          'px;animation:',
          ({ theme: e }) =>
            Object(r.d)(
              '0%{opacity:0;height:0;transform:translateY(20px);}50%{opacity:0;max-height:',
              e.notificationHeightPx,
              'px;transform:translateY(20px);}100%{opacity:1;max-height:',
              e.notificationHeightPx,
              'px;transform:translateY(0);}'
            ),
          ' 250ms ease;clear:both;'
        );
      var p = { name: 'whh5e5', styles: 'opacity:1;' },
        u = { name: 'whh5e5', styles: 'opacity:1;' };
      const m = Object(r.c)('button', { target: 'e1hvvs531' })(
        'background-color:#5d6c80;color:',
        Object(r.f)('white'),
        ';font-size:13px;/* @noflip */ float:right;padding:8px 20px;opacity:0;border-radius:100px;',
        ({ visibleDismissButton: e }) => e && u,
        ' ',
        ({ theme: e }) => e.tabNavigation && p
      );
      var h = { name: '1k4uzxx', styles: 'width:260px;' };
      const b = Object(r.c)('div', { target: 'e1hvvs532' })(
          'position:fixed;bottom:',
          5,
          'px;right:',
          5,
          'px;:hover{',
          m.className,
          '{opacity:0.8;&:hover{opacity:0.9;}}}',
          ({ theme: e }) => e.isMobileSize && h
        ),
        g = Object(r.c)('span', { target: 'e1hvvs533' })(
          Object(a.b)(i.a, l.a, '8px', '8px'),
          ' width:8px;height:8px;display:inline-block;margin-left:8px;'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return ConversationPartMetadata;
      });
      var r = n(464),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(501),
        l = n(39),
        c = n(532);
      class ConversationPartMetadata extends o.Component {
        componentDidMount() {
          this.interval = setInterval(() => {
            this.forceUpdate();
          }, 6e4);
        }
        componentWillUnmount() {
          clearInterval(this.interval), (this.interval = null);
        }
        getAttribution() {
          const { body: e } = this.props.part;
          if (!e || 0 === e.length) return;
          const { attribution: t } = e[0];
          return t;
        }
        getSaveState() {
          const {
              saveState: e,
              seenState: t,
              createdAt: n,
              showCreatedAt: r,
              author: a,
              saveFailureReason: o,
            } = this.props.part,
            i = r ? Object(s.f)(n) : null,
            c = this.seenStateText(t);
          return !a.isSelf && r
            ? `${this.botStateText(a)}${i}.`
            : 'saving' === e
            ? Object(l.e)('message_state_sending')
            : 'failed' === e
            ? 'file_size' === o
              ? Object(l.e)('file_too_big', { limit: '40' })
              : Object(l.e)('failed_to_send')
            : 'saved' === e && a.isSelf && i
            ? `${i}. ${c}`
            : void 0;
        }
        seenStateText(e) {
          return 'not-seen-yet' === e
            ? Object(l.e)('message_unseen')
            : 'seen' === e
            ? Object(l.e)('message_seen')
            : '';
        }
        botStateText(e) {
          return e.isBot ? `${Object(l.e)('bot')} · ` : '';
        }
        renderSaveState() {
          return i.a.createElement(
            c.c,
            { className: 'intercom-conversation-part-metadata-save-state' },
            this.getSaveState()
          );
        }
        renderAttribution() {
          const e = this.getAttribution();
          return e
            ? i.a.createElement(c.a, null, Object(l.e)('gif_attribution', { providername: e }))
            : null;
        }
        render() {
          return i.a.createElement(
            c.b,
            { className: 'intercom-conversation-part-metadata' },
            this.renderAttribution(),
            this.renderSaveState()
          );
        }
      }
      ConversationPartMetadata.propTypes = {
        part: a.a.shape({
          body: a.a.arrayOf(a.a.shape({ attribution: a.a.string })),
          saveState: a.a.oneOf(['failed', 'saving', 'saved']),
          saveFailureReason: a.a.string,
          seenState: a.a.oneOf(['not-seen-yet', 'seen']),
          createdAt: a.a.date,
          showCreatedAt: a.a.bool,
          author: a.a.shape({ isSelf: a.a.bool.isRequired }).isRequired,
        }).isRequired,
      };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'd', function () {
        return u;
      }),
        n.d(t, 'c', function () {
          return m;
        }),
        n.d(t, 'b', function () {
          return h;
        }),
        n.d(t, 'a', function () {
          return b;
        });
      const r = /\s+/g,
        a = /^(00)|(\+)/i,
        o = /[^(\d|\s|\+|\.|\(|\)|\-)]/g,
        i = /\D/g,
        s = 'that_number_needs_a_prefix',
        l = 'that_number_doesnt_look_quite_right',
        c = 'that_country_code_doesnt_look_quite_right',
        d = 'that_number_is_missing_a_few_digits',
        p = 'that_number_has_too_many_digits',
        u = (e) => void 0 === m(e),
        m = (e) => {
          if (!g(e)) return s;
          if ((e = e.replace(a, '')).match(o)) return l;
          if ((e = e.replace(i, '')).length > 15) return p;
          const t = b(e);
          return t && (e = e.substring(t.dialCode.length)), e.length < 6 ? d : t ? void 0 : c;
        },
        h = (e) => {
          const t = O[e];
          return t ? `+${t.dialCode}` : '+1';
        },
        b = (e) => {
          if ((e = f(e)).length < 4) return;
          const t = v(e);
          return j(t);
        },
        g = (e) => e.match(a),
        f = (e) => (e = (e = (e = e.replace(r, '')).replace(a, '')).replace(o, '')).slice(0, 4),
        v = (e) => {
          const t = [],
            n = Object.keys(O);
          for (let r = 0; r <= n.length - 1; r++) {
            const a = x(n[r]),
              o = y(a);
            if (o.indexOf(e) > -1) {
              t.push(a);
              break;
            }
            o.some((t) => e.startsWith(t)) && t.push(a);
          }
          return t;
        },
        x = (e) => Object.assign(O[e], { code: e }),
        y = (e) => {
          const { dialCode: t, areaCodes: n } = e;
          return n ? n.map((e) => `${t}${e}`) : [t];
        },
        j = (e) => {
          if (1 === e.length) return e[0];
          if (e.length > 1) {
            if (1 === new Set(e.map((e) => e.dialCode)).size)
              return e.find((e) => 0 === e.priority);
          }
        },
        O = {
          af: { dialCode: '93', areaCodes: null, priority: 0 },
          al: { dialCode: '355', areaCodes: null, priority: 0 },
          dz: { dialCode: '213', areaCodes: null, priority: 0 },
          as: { dialCode: '1684', areaCodes: null, priority: 0 },
          ad: { dialCode: '376', areaCodes: null, priority: 0 },
          ao: { dialCode: '244', areaCodes: null, priority: 0 },
          ai: { dialCode: '1264', areaCodes: null, priority: 0 },
          ag: { dialCode: '1268', areaCodes: null, priority: 0 },
          ar: { dialCode: '54', areaCodes: null, priority: 0 },
          am: { dialCode: '374', areaCodes: null, priority: 0 },
          aw: { dialCode: '297', areaCodes: null, priority: 0 },
          au: { dialCode: '61', areaCodes: null, priority: 0 },
          at: { dialCode: '43', areaCodes: null, priority: 0 },
          az: { dialCode: '994', areaCodes: null, priority: 0 },
          bs: { dialCode: '1242', areaCodes: null, priority: 0 },
          bh: { dialCode: '973', areaCodes: null, priority: 0 },
          bd: { dialCode: '880', areaCodes: null, priority: 0 },
          bb: { dialCode: '1246', areaCodes: null, priority: 0 },
          by: { dialCode: '375', areaCodes: null, priority: 0 },
          be: { dialCode: '32', areaCodes: null, priority: 0 },
          bz: { dialCode: '501', areaCodes: null, priority: 0 },
          bj: { dialCode: '229', areaCodes: null, priority: 0 },
          bm: { dialCode: '1441', areaCodes: null, priority: 0 },
          bt: { dialCode: '975', areaCodes: null, priority: 0 },
          bo: { dialCode: '591', areaCodes: null, priority: 0 },
          ba: { dialCode: '387', areaCodes: null, priority: 0 },
          bw: { dialCode: '267', areaCodes: null, priority: 0 },
          br: { dialCode: '55', areaCodes: null, priority: 0 },
          io: { dialCode: '246', areaCodes: null, priority: 0 },
          vg: { dialCode: '1284', areaCodes: null, priority: 0 },
          bn: { dialCode: '673', areaCodes: null, priority: 0 },
          bg: { dialCode: '359', areaCodes: null, priority: 0 },
          bf: { dialCode: '226', areaCodes: null, priority: 0 },
          bi: { dialCode: '257', areaCodes: null, priority: 0 },
          kh: { dialCode: '855', areaCodes: null, priority: 0 },
          cm: { dialCode: '237', areaCodes: null, priority: 0 },
          ca: {
            dialCode: '1',
            areaCodes: [
              '204',
              '226',
              '236',
              '249',
              '250',
              '289',
              '306',
              '343',
              '365',
              '387',
              '403',
              '416',
              '418',
              '431',
              '437',
              '438',
              '450',
              '506',
              '514',
              '519',
              '548',
              '579',
              '581',
              '587',
              '604',
              '613',
              '639',
              '647',
              '672',
              '705',
              '709',
              '742',
              '778',
              '780',
              '782',
              '807',
              '819',
              '825',
              '867',
              '873',
              '902',
              '905',
            ],
            priority: 1,
          },
          cv: { dialCode: '238', areaCodes: null, priority: 0 },
          bq: { dialCode: '599', areaCodes: null, priority: 1 },
          ky: { dialCode: '1345', areaCodes: null, priority: 0 },
          cf: { dialCode: '236', areaCodes: null, priority: 0 },
          td: { dialCode: '235', areaCodes: null, priority: 0 },
          cl: { dialCode: '56', areaCodes: null, priority: 0 },
          cn: { dialCode: '86', areaCodes: null, priority: 0 },
          cx: { dialCode: '61', areaCodes: null, priority: 2 },
          cc: { dialCode: '61', areaCodes: null, priority: 1 },
          co: { dialCode: '57', areaCodes: null, priority: 0 },
          km: { dialCode: '269', areaCodes: null, priority: 0 },
          cd: { dialCode: '243', areaCodes: null, priority: 0 },
          cg: { dialCode: '242', areaCodes: null, priority: 0 },
          ck: { dialCode: '682', areaCodes: null, priority: 0 },
          cr: { dialCode: '506', areaCodes: null, priority: 0 },
          ci: { dialCode: '225', areaCodes: null, priority: 0 },
          hr: { dialCode: '385', areaCodes: null, priority: 0 },
          cu: { dialCode: '53', areaCodes: null, priority: 0 },
          cw: { dialCode: '599', areaCodes: null, priority: 0 },
          cy: { dialCode: '357', areaCodes: null, priority: 0 },
          cz: { dialCode: '420', areaCodes: null, priority: 0 },
          dk: { dialCode: '45', areaCodes: null, priority: 0 },
          dj: { dialCode: '253', areaCodes: null, priority: 0 },
          dm: { dialCode: '1767', areaCodes: null, priority: 0 },
          do: { dialCode: '1', areaCodes: ['809', '829', '849'], priority: 2 },
          ec: { dialCode: '593', areaCodes: null, priority: 0 },
          eg: { dialCode: '20', areaCodes: null, priority: 0 },
          sv: { dialCode: '503', areaCodes: null, priority: 0 },
          gq: { dialCode: '240', areaCodes: null, priority: 0 },
          er: { dialCode: '291', areaCodes: null, priority: 0 },
          ee: { dialCode: '372', areaCodes: null, priority: 0 },
          et: { dialCode: '251', areaCodes: null, priority: 0 },
          fk: { dialCode: '500', areaCodes: null, priority: 0 },
          fo: { dialCode: '298', areaCodes: null, priority: 0 },
          fj: { dialCode: '679', areaCodes: null, priority: 0 },
          fi: { dialCode: '358', areaCodes: null, priority: 0 },
          fr: { dialCode: '33', areaCodes: null, priority: 0 },
          gf: { dialCode: '594', areaCodes: null, priority: 0 },
          pf: { dialCode: '689', areaCodes: null, priority: 0 },
          ga: { dialCode: '241', areaCodes: null, priority: 0 },
          gm: { dialCode: '220', areaCodes: null, priority: 0 },
          ge: { dialCode: '995', areaCodes: null, priority: 0 },
          de: { dialCode: '49', areaCodes: null, priority: 0 },
          gh: { dialCode: '233', areaCodes: null, priority: 0 },
          gi: { dialCode: '350', areaCodes: null, priority: 0 },
          gr: { dialCode: '30', areaCodes: null, priority: 0 },
          gl: { dialCode: '299', areaCodes: null, priority: 0 },
          gd: { dialCode: '1473', areaCodes: null, priority: 0 },
          gp: { dialCode: '590', areaCodes: null, priority: 0 },
          gu: { dialCode: '1671', areaCodes: null, priority: 0 },
          gt: { dialCode: '502', areaCodes: null, priority: 0 },
          gg: { dialCode: '44', areaCodes: null, priority: 1 },
          gn: { dialCode: '224', areaCodes: null, priority: 0 },
          gw: { dialCode: '245', areaCodes: null, priority: 0 },
          gy: { dialCode: '592', areaCodes: null, priority: 0 },
          ht: { dialCode: '509', areaCodes: null, priority: 0 },
          hn: { dialCode: '504', areaCodes: null, priority: 0 },
          hk: { dialCode: '852', areaCodes: null, priority: 0 },
          hu: { dialCode: '36', areaCodes: null, priority: 0 },
          is: { dialCode: '354', areaCodes: null, priority: 0 },
          in: { dialCode: '91', areaCodes: null, priority: 0 },
          id: { dialCode: '62', areaCodes: null, priority: 0 },
          ir: { dialCode: '98', areaCodes: null, priority: 0 },
          iq: { dialCode: '964', areaCodes: null, priority: 0 },
          ie: { dialCode: '353', areaCodes: null, priority: 0 },
          im: { dialCode: '44', areaCodes: null, priority: 2 },
          il: { dialCode: '972', areaCodes: null, priority: 0 },
          it: { dialCode: '39', areaCodes: null, priority: 0 },
          jm: { dialCode: '1876', areaCodes: null, priority: 0 },
          jp: { dialCode: '81', areaCodes: null, priority: 0 },
          je: { dialCode: '44', areaCodes: null, priority: 3 },
          jo: { dialCode: '962', areaCodes: null, priority: 0 },
          kz: { dialCode: '7', areaCodes: null, priority: 1 },
          ke: { dialCode: '254', areaCodes: null, priority: 0 },
          ki: { dialCode: '686', areaCodes: null, priority: 0 },
          xk: { dialCode: '383', areaCodes: null, priority: 0 },
          kw: { dialCode: '965', areaCodes: null, priority: 0 },
          kg: { dialCode: '996', areaCodes: null, priority: 0 },
          la: { dialCode: '856', areaCodes: null, priority: 0 },
          lv: { dialCode: '371', areaCodes: null, priority: 0 },
          lb: { dialCode: '961', areaCodes: null, priority: 0 },
          ls: { dialCode: '266', areaCodes: null, priority: 0 },
          lr: { dialCode: '231', areaCodes: null, priority: 0 },
          ly: { dialCode: '218', areaCodes: null, priority: 0 },
          li: { dialCode: '423', areaCodes: null, priority: 0 },
          lt: { dialCode: '370', areaCodes: null, priority: 0 },
          lu: { dialCode: '352', areaCodes: null, priority: 0 },
          mo: { dialCode: '853', areaCodes: null, priority: 0 },
          mk: { dialCode: '389', areaCodes: null, priority: 0 },
          mg: { dialCode: '261', areaCodes: null, priority: 0 },
          mw: { dialCode: '265', areaCodes: null, priority: 0 },
          my: { dialCode: '60', areaCodes: null, priority: 0 },
          mv: { dialCode: '960', areaCodes: null, priority: 0 },
          ml: { dialCode: '223', areaCodes: null, priority: 0 },
          mt: { dialCode: '356', areaCodes: null, priority: 0 },
          mh: { dialCode: '692', areaCodes: null, priority: 0 },
          mq: { dialCode: '596', areaCodes: null, priority: 0 },
          mr: { dialCode: '222', areaCodes: null, priority: 0 },
          mu: { dialCode: '230', areaCodes: null, priority: 0 },
          yt: { dialCode: '262', areaCodes: null, priority: 1 },
          mx: { dialCode: '52', areaCodes: null, priority: 0 },
          fm: { dialCode: '691', areaCodes: null, priority: 0 },
          md: { dialCode: '373', areaCodes: null, priority: 0 },
          mc: { dialCode: '377', areaCodes: null, priority: 0 },
          mn: { dialCode: '976', areaCodes: null, priority: 0 },
          me: { dialCode: '382', areaCodes: null, priority: 0 },
          ms: { dialCode: '1664', areaCodes: null, priority: 0 },
          ma: { dialCode: '212', areaCodes: null, priority: 0 },
          mz: { dialCode: '258', areaCodes: null, priority: 0 },
          mm: { dialCode: '95', areaCodes: null, priority: 0 },
          na: { dialCode: '264', areaCodes: null, priority: 0 },
          nr: { dialCode: '674', areaCodes: null, priority: 0 },
          np: { dialCode: '977', areaCodes: null, priority: 0 },
          nl: { dialCode: '31', areaCodes: null, priority: 0 },
          nc: { dialCode: '687', areaCodes: null, priority: 0 },
          nz: { dialCode: '64', areaCodes: null, priority: 0 },
          ni: { dialCode: '505', areaCodes: null, priority: 0 },
          ne: { dialCode: '227', areaCodes: null, priority: 0 },
          ng: { dialCode: '234', areaCodes: null, priority: 0 },
          nu: { dialCode: '683', areaCodes: null, priority: 0 },
          nf: { dialCode: '672', areaCodes: null, priority: 0 },
          kp: { dialCode: '850', areaCodes: null, priority: 0 },
          mp: { dialCode: '1670', areaCodes: null, priority: 0 },
          no: { dialCode: '47', areaCodes: null, priority: 0 },
          om: { dialCode: '968', areaCodes: null, priority: 0 },
          pk: { dialCode: '92', areaCodes: null, priority: 0 },
          pw: { dialCode: '680', areaCodes: null, priority: 0 },
          ps: { dialCode: '970', areaCodes: null, priority: 0 },
          pa: { dialCode: '507', areaCodes: null, priority: 0 },
          pg: { dialCode: '675', areaCodes: null, priority: 0 },
          py: { dialCode: '595', areaCodes: null, priority: 0 },
          pe: { dialCode: '51', areaCodes: null, priority: 0 },
          ph: { dialCode: '63', areaCodes: null, priority: 0 },
          pl: { dialCode: '48', areaCodes: null, priority: 0 },
          pt: { dialCode: '351', areaCodes: null, priority: 0 },
          pr: { dialCode: '1', areaCodes: ['787', '939'], priority: 3 },
          qa: { dialCode: '974', areaCodes: null, priority: 0 },
          re: { dialCode: '262', areaCodes: null, priority: 0 },
          ro: { dialCode: '40', areaCodes: null, priority: 0 },
          ru: { dialCode: '7', areaCodes: null, priority: 0 },
          rw: { dialCode: '250', areaCodes: null, priority: 0 },
          bl: { dialCode: '590', areaCodes: null, priority: 1 },
          sh: { dialCode: '290', areaCodes: null, priority: 0 },
          kn: { dialCode: '1869', areaCodes: null, priority: 0 },
          lc: { dialCode: '1758', areaCodes: null, priority: 0 },
          mf: { dialCode: '590', areaCodes: null, priority: 2 },
          pm: { dialCode: '508', areaCodes: null, priority: 0 },
          vc: { dialCode: '1784', areaCodes: null, priority: 0 },
          ws: { dialCode: '685', areaCodes: null, priority: 0 },
          sm: { dialCode: '378', areaCodes: null, priority: 0 },
          st: { dialCode: '239', areaCodes: null, priority: 0 },
          sa: { dialCode: '966', areaCodes: null, priority: 0 },
          sn: { dialCode: '221', areaCodes: null, priority: 0 },
          rs: { dialCode: '381', areaCodes: null, priority: 0 },
          sc: { dialCode: '248', areaCodes: null, priority: 0 },
          sl: { dialCode: '232', areaCodes: null, priority: 0 },
          sg: { dialCode: '65', areaCodes: null, priority: 0 },
          sx: { dialCode: '1721', areaCodes: null, priority: 0 },
          sk: { dialCode: '421', areaCodes: null, priority: 0 },
          si: { dialCode: '386', areaCodes: null, priority: 0 },
          sb: { dialCode: '677', areaCodes: null, priority: 0 },
          so: { dialCode: '252', areaCodes: null, priority: 0 },
          za: { dialCode: '27', areaCodes: null, priority: 0 },
          kr: { dialCode: '82', areaCodes: null, priority: 0 },
          ss: { dialCode: '211', areaCodes: null, priority: 0 },
          es: { dialCode: '34', areaCodes: null, priority: 0 },
          lk: { dialCode: '94', areaCodes: null, priority: 0 },
          sd: { dialCode: '249', areaCodes: null, priority: 0 },
          sr: { dialCode: '597', areaCodes: null, priority: 0 },
          sj: { dialCode: '47', areaCodes: null, priority: 1 },
          sz: { dialCode: '268', areaCodes: null, priority: 0 },
          se: { dialCode: '46', areaCodes: null, priority: 0 },
          ch: { dialCode: '41', areaCodes: null, priority: 0 },
          sy: { dialCode: '963', areaCodes: null, priority: 0 },
          tw: { dialCode: '886', areaCodes: null, priority: 0 },
          tj: { dialCode: '992', areaCodes: null, priority: 0 },
          tz: { dialCode: '255', areaCodes: null, priority: 0 },
          th: { dialCode: '66', areaCodes: null, priority: 0 },
          tl: { dialCode: '670', areaCodes: null, priority: 0 },
          tg: { dialCode: '228', areaCodes: null, priority: 0 },
          tk: { dialCode: '690', areaCodes: null, priority: 0 },
          to: { dialCode: '676', areaCodes: null, priority: 0 },
          tt: { dialCode: '1868', areaCodes: null, priority: 0 },
          tn: { dialCode: '216', areaCodes: null, priority: 0 },
          tr: { dialCode: '90', areaCodes: null, priority: 0 },
          tm: { dialCode: '993', areaCodes: null, priority: 0 },
          tc: { dialCode: '1649', areaCodes: null, priority: 0 },
          tv: { dialCode: '688', areaCodes: null, priority: 0 },
          vi: { dialCode: '1340', areaCodes: null, priority: 0 },
          ug: { dialCode: '256', areaCodes: null, priority: 0 },
          ua: { dialCode: '380', areaCodes: null, priority: 0 },
          ae: { dialCode: '971', areaCodes: null, priority: 0 },
          gb: { dialCode: '44', areaCodes: null, priority: 0 },
          us: { dialCode: '1', areaCodes: null, priority: 0 },
          uy: { dialCode: '598', areaCodes: null, priority: 0 },
          uz: { dialCode: '998', areaCodes: null, priority: 0 },
          vu: { dialCode: '678', areaCodes: null, priority: 0 },
          va: { dialCode: '39', areaCodes: null, priority: 1 },
          ve: { dialCode: '58', areaCodes: null, priority: 0 },
          vn: { dialCode: '84', areaCodes: null, priority: 0 },
          wf: { dialCode: '681', areaCodes: null, priority: 0 },
          eh: { dialCode: '212', areaCodes: null, priority: 1 },
          ye: { dialCode: '967', areaCodes: null, priority: 0 },
          zm: { dialCode: '260', areaCodes: null, priority: 0 },
          zw: { dialCode: '263', areaCodes: null, priority: 0 },
          ax: { dialCode: '358', areaCodes: null, priority: 1 },
        };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      }),
        n.d(t, 'b', function () {
          return s;
        }),
        n.d(t, 'c', function () {
          return l;
        });
      var r = n(461),
        a = n(463),
        o = { name: '13o7eu2', styles: 'display:block;' };
      const i = Object(r.c)('div', { target: 'euc31aa0' })(
          'z-index:',
          Object(a.m)(3),
          ';position:absolute;width:51px;height:51px;top:0;right:0;background-position:center;margin:12px 8px 12px 2px;display:none;cursor:pointer;*{cursor:pointer;}',
          ({ enabled: e }) => e && o
        ),
        s = Object(r.c)('div', { target: 'euc31aa1' })(
          'width:51px;height:51px;margin:0 auto;border-radius:',
          Object(r.f)('messengerBorderRadiusPx'),
          'px;display:flex;align-items:center;transform:translateZ(0);transition:background-color ease 200ms;&:hover{background-color:rgba(0,0,0,0.5);}'
        ),
        l = Object(r.c)('svg', { target: 'euc31aa2' })(
          'margin:0 auto;width:12px;height:12px;> g > g{fill:',
          Object(r.f)('headerTitleColor'),
          ';}'
        );
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(513),
        i = n(461),
        s = n(463),
        l = n(494),
        c = { name: '4e206b', styles: 'transform:translate(0,100%);bottom:-2px;right:0;' },
        d = { name: 'mnx8f1', styles: 'transform:translate(-50%,100%);bottom:-2px;left:50%;' };
      const p = Object(i.c)(o.animated.div, { target: 'eknz5wz0' })(
          'z-index:',
          Object(s.m)(1),
          ';box-sizing:border-box;position:absolute;width:auto;pointer-events:none;',
          ({ position: e }) => 'bottom' === e && d,
          ' ',
          ({ position: e }) => 'bottomRight' === e && c,
          ' ',
          ({ position: e, top: t, bottom: n, left: r }) =>
            'auto' === e &&
            Object(i.b)(
              'transform:translate(-50%,0);',
              null != t && Object(i.b)('top:', t, 'px;'),
              ' ',
              null != n && Object(i.b)('bottom:', n, 'px;'),
              ' left:',
              r,
              'px;'
            )
        ),
        u = Object(i.c)('div', { target: 'eknz5wz1' })(
          'background:',
          Object(i.f)('grey'),
          ';opacity:0.95;color:',
          Object(i.f)('white'),
          ';border-radius:3px;font-size:12px;line-height:1.4;text-align:center;padding:2px 4px 0;white-space:nowrap;',
          ({ type: e, theme: t }) =>
            'dark' === e && Object(i.b)('background:', Object(l.a)(t.black, 0.55), ';')
        );
      var m = n(499);
      function h() {
        return (h =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      n.d(t, 'a', function () {
        return b;
      });
      function b({
        children: e,
        content: t,
        position: n = 'auto',
        enabled: o = !0,
        type: i = 'default',
      }) {
        const [s, l] = Object(r.useState)({ top: 0, bottom: null, left: 0 }),
          [c, d] = Object(r.useState)(!1),
          b = Object(r.useRef)(null),
          g = Object(r.useRef)(null),
          f = Object(r.useRef)(Date.now());
        Object(r.useEffect)(() => () => clearInterval(g.current), []);
        return e(
          a.a.createElement(
            m.a,
            { duration: 200 },
            c && o && t
              ? (e) =>
                  a.a.createElement(
                    p,
                    h({ position: n, left: s.left, top: s.top, bottom: s.bottom }, e),
                    a.a.createElement(u, { type: i }, t)
                  )
              : null
          ),
          {
            onMouseEnter: () => {
              clearInterval(g.current),
                (g.current = setInterval(() => {
                  const e = Date.now() - f.current;
                  d(e > 500);
                }, 100));
            },
            onMouseLeave: () => {
              d(!1), clearInterval(g.current);
            },
            onMouseMove: (e) => {
              if (!b.current) return;
              const t = b.current.getBoundingClientRect(),
                n = e.clientX - t.left,
                r = e.clientY - t.top,
                a = t.bottom - e.clientY;
              let o, i;
              r > t.height / 2 ? (o = Math.round(a + 15)) : (i = Math.round(r + 20)),
                (f.current = Date.now()),
                d(!1),
                l({ top: i, bottom: o, left: Math.round(n + 5) });
            },
            ref: b,
          }
        );
      }
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('div', { target: 'e1chjwx0' })(
        'margin:0 auto;border-radius:50%;display:inline-block;vertical-align:middle;cursor:default;img{border-radius:50%;}',
        ({ size: e }) =>
          ((e = 32) =>
            Object(r.b)(
              'width:',
              e,
              'px;height:',
              e,
              'px;line-height:',
              e,
              'px;font-size:',
              e / 2,
              'px;img{width:',
              e,
              'px;height:',
              e,
              'px;}'
            ))(e),
        ' ',
        ({ initial: e, theme: t }) =>
          e &&
          Object(r.b)(
            'text-transform:uppercase;background-color:',
            t.avatarBackgroundColor,
            ';color:',
            t.white,
            ';text-align:center;display:inline-flex;justify-content:center;align-items:center;'
          ),
        ' ',
        ({ user: e, theme: t }) =>
          e && Object(r.b)('background-color:', t.adminCommentBackground, ';color:#94abb6;')
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return c;
      });
      var r = n(460),
        a = n.n(r),
        o = n(462),
        i = n(81),
        s = n(82),
        l = n(467);
      function c({ onHeightChange: e, children: t }) {
        const n = Object(o.useSelector)(s.b),
          r = !Object(i.b)() && !n;
        return a.a.createElement(l.b, { onHeightChange: e, disable: r }, t);
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(460),
        a = n.n(r);
      function o() {
        return (o =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function i(e) {
        return a.a.createElement(
          'svg',
          o(
            {
              'focusable': 'false',
              'aria-hidden': 'true',
              'width': '8',
              'height': '8',
              'viewBox': '0 0 8 8',
              'fill': 'none',
              'xmlns': 'http://www.w3.org/2000/svg',
            },
            e
          ),
          a.a.createElement('path', {
            fillRule: 'evenodd',
            clipRule: 'evenodd',
            d: 'M8 7.23251L7.23251 8L4 4.76749L0.767492 8L0 7.23251L3.23251 4L0 0.767492L0.767492 0L4 3.23251L7.23251 0L8 0.767492L4.76749 4L8 7.23251Z',
            fill: 'white',
          })
        );
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'e', function () {
        return u;
      }),
        n.d(t, 'f', function () {
          return m;
        }),
        n.d(t, 'h', function () {
          return h;
        }),
        n.d(t, 'b', function () {
          return b;
        }),
        n.d(t, 'a', function () {
          return g;
        }),
        n.d(t, 'c', function () {
          return f;
        }),
        n.d(t, 'd', function () {
          return v;
        }),
        n.d(t, 'g', function () {
          return x;
        });
      var r = n(461),
        a = n(545),
        o = n(550),
        i = n(502),
        s = n(469),
        l = n(463);
      const c = Object(r.d)('0%{opacity:0;}100%{opacity:1;}'),
        d = Object(r.d)('0%{opacity:1;}100%{opacity:0;}');
      var p = { name: 'whh5e5', styles: 'opacity:1;' };
      const u = Object(r.c)('div', { target: 'e7v1a5j0' })(
          'min-height:0;transition:opacity 0.3s ease-out;opacity:0;height:100%;',
          ({ show: e }) => e && p,
          ';'
        ),
        m = Object(r.c)('div', { target: 'e7v1a5j1' })({
          name: 'ojtruv',
          styles:
            'position:absolute;box-shadow:inset 0 21px 4px -20px rgba(0,0,0,0.2);width:100%;height:10px;pointer-events:none;z-index:100;',
        }),
        h = Object(r.c)('div', { target: 'e7v1a5j2' })(
          'position:absolute;height:100%;width:100%;display:flex;flex-direction:column;&.enter{animation-name:',
          c,
          ';animation-duration:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0ms',
          ';animation-fill-mode:both;}&.exit{animation-name:',
          d,
          ';animation-duration:',
          '150ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;}',
          i.c.className,
          '{min-height:100%;display:flex;flex-direction:column;}',
          s.a.className,
          '{min-height:auto;}'
        ),
        b = Object(r.c)('div', { target: 'e7v1a5j3' })(
          'display:flex;flex-direction:column;margin-top:auto;align-items:center;width:100%;position:absolute;z-index:',
          Object(l.m)(0),
          ';top:0;&.search-browse-reaction-followup-exit,&.search-browse-reaction-followup-enter-done{opacity:1;top:115px;transition:all 150ms ease-in-out;}&.search-browse-reaction-followup-enter,&.search-browse-reaction-followup-exit-done{opacity:0;top:0;transition:all 150ms ease-in-out;}&.search-browse-reaction-followup-exit-done{visibility:hidden;}'
        ),
        g = Object(r.c)('div', { target: 'e7v1a5j4' })(
          'border-top:1px solid ',
          Object(r.f)('lightGrey10'),
          ';width:48px;'
        ),
        f = Object(r.c)('div', { target: 'e7v1a5j5' })(
          'display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:44px;font-size:14px;color:',
          Object(r.f)('grey'),
          ';padding:24px;'
        ),
        v = Object(r.c)('div', { target: 'e7v1a5j6' })(
          'width:100%;background-color:',
          Object(r.f)('white'),
          ';position:absolute;z-index:',
          Object(l.m)(1),
          ';padding:24px;height:115px;box-sizing:border-box;',
          a.a.className,
          '{font-size:14px;width:100%;color:',
          Object(r.f)('grey'),
          ';background:transparent;margin:0;padding:0;',
          a.b.className,
          '{padding-top:0;padding-bottom:8px;}',
          o.a.className,
          '{font-size:28px;width:52px;height:40px;display:inline-flex;justify-content:center;}',
          o.a.className,
          ' span{display:inline-flex;align-items:center;}}'
        ),
        x = Object(r.c)('div', { target: 'e7v1a5j7' })(
          'border-top:1px solid ',
          Object(r.f)('lightGrey8'),
          ';position:relative;'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('div', { target: 'erx8peo0' })(
        'padding:25px 16px 0;color:',
        Object(r.f)('white'),
        ';font-size:14px;line-height:18px;font-weight:600;z-index:2;pointer-events:none;text-shadow:1px 1px rgba(0,0,0,0.6);'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('svg', { target: 'evarteb0' })(
        'position:absolute;height:12px;width:15px;top:14px;right:14px;stroke:',
        Object(r.f)('inputButtonSuccessIcon'),
        ';z-index:0;'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('button', { target: 'e1r6wzsz0' })(
        'cursor:pointer;z-index:1;position:absolute;top:0;right:0;bottom:0;width:40px;border-top-right-radius:3px;border-bottom-right-radius:3px;background-color:',
        Object(r.f)('buttonBackgroundColor'),
        ';-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;-webkit-user-select:none;',
        ({ theme: e }) =>
          'light' === e.primaryType && Object(r.b)('border:1px solid ', e.lightGrey2, ';'),
        ' ',
        ({ disabled: e, theme: t }) =>
          e &&
          Object(r.b)(
            'cursor:default;background-color:',
            t.disabledInputButtonBackground,
            ';*{cursor:default;}'
          ),
        ' ',
        ({ disabled: e, isLoading: t, theme: n }) =>
          !e &&
          !t &&
          Object(r.b)(
            '&:hover{background-color:',
            n.buttonBackgroundColorHover,
            ';}&:active{background-color:',
            n.buttonBackgroundColorActive,
            ';}'
          ),
        ' @media (-ms-high-contrast:active){border:1px solid white;}'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return a;
      }),
        n.d(t, 'a', function () {
          return o;
        });
      var r = n(461);
      const a = Object(r.c)('p', { target: 'e1mycm720' })(
          'position:absolute;bottom:0;color:',
          Object(r.f)('errorText'),
          ';font-size:13px;line-height:13px;'
        ),
        o = Object(r.c)('div', { target: 'e1mycm721' })({
          name: 'qle8yk',
          styles: 'position:relative;height:23px;',
        });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return AuthorSummary;
      });
      var r = n(464),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(530),
        l = n(501),
        c = n(39);
      class AuthorSummary extends o.Component {
        renderReplyStyle() {
          return i.a.createElement(
            s.e,
            null,
            i.a.createElement(s.f, null, `${Object(c.e)('reply_from')} `),
            i.a.createElement(
              s.c,
              { className: 'test-author-summary-name' },
              this.props.author.firstName
            )
          );
        }
        activeOrAwayInWords() {
          return this.props.isActive ? 'Active' : 'Away';
        }
        renderWithAppName() {
          const { lastActiveAt: e, appName: t, author: n } = this.props,
            r = n.firstName,
            a = null !== this.props.isActive && 'en' === Object(c.a)();
          return i.a.createElement(
            s.e,
            null,
            i.a.createElement(
              s.d,
              { className: 'test-author-summary-name-from' },
              i.a.createElement(s.c, { className: 'test-author-summary-name' }, r),
              'team' !== n.type
                ? i.a.createElement(
                    s.b,
                    { className: 'test-author-summary-from-clause' },
                    ` ${Object(c.e)('from_app', { app_name: t })}`
                  )
                : null
            ),
            e ? i.a.createElement(s.a, null, a ? this.activeOrAwayInWords() : Object(l.d)(e)) : null
          );
        }
        render() {
          return this.props.isReplyStyle ? this.renderReplyStyle() : this.renderWithAppName();
        }
      }
      AuthorSummary.propTypes = {
        appName: a.a.string.isRequired,
        author: a.a.shape({
          firstName: a.a.string.isRequired,
          isActive: a.a.bool,
          type: a.a.string,
        }).isRequired,
        isReplyStyle: a.a.bool.isRequired,
        lastActiveAt: a.a.instanceOf(Date),
        isActive: a.a.bool,
      };
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/dismiss.249568e7.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/dismiss@2x.1c82ba79.png';
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return r;
      });
      const r = 'email@example.com';
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return r;
      });
      const r = (e) =>
        /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(
          e
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return EmailAttribute;
      });
      var r,
        a,
        o,
        i = n(460),
        s = n.n(i),
        l = n(539),
        c = n(590),
        d = n(591),
        p = n(39);
      class EmailAttribute extends i.Component {
        render() {
          const {
            value: e,
            saveState: t,
            isBorderless: n,
            isReplyType: r,
            isNotificationChannel: a,
            isSubmittable: o,
            placeholder: i,
            disabled: c,
            errorMessage: u,
            hideErrorMessage: m,
            onSubmit: h,
            onChange: b,
          } = this.props;
          return s.a.createElement(l.a, {
            value: e,
            placeholder: i,
            saveState: t,
            disabled: c,
            isValid: d.a,
            isBorderless: n,
            isReplyType: r,
            isSubmittable: o,
            isNotificationChannel: a,
            onSubmit: h,
            onChange: b,
            hideErrorMessage: m,
            ariaLabel: 'Enter your email',
            type: 'email',
            validationErrorMessage: u || Object(p.e)('that_email_address_doesnt_look_quite_right'),
          });
        }
      }
      (r = EmailAttribute),
        (a = 'defaultProps'),
        (o = { placeholder: c.a, isSubmittable: !0, hideErrorMessage: !1 }),
        a in r
          ? Object.defineProperty(r, a, {
              value: o,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (r[a] = o);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return ErrorBoundary;
      });
      var r = n(460),
        a = n.n(r),
        o = n(461),
        i = n(57);
      const s = Object(o.c)('div', { target: 'e82hi040' })(
        'font-size:13px;color:',
        Object(o.f)('grey'),
        ';padding:0 20px;text-align:',
        Object(o.e)('align'),
        ';'
      );
      class ErrorBoundary extends r.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = { hasError: !1 }),
            (n = 'state') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        componentDidCatch(e) {
          this.setState({ hasError: !0 }), Object(i.c)(e);
        }
        render() {
          const { errorText: e, align: t, children: n, style: r } = this.props,
            { hasError: o } = this.state;
          return o ? a.a.createElement(s, { align: t, style: r || {} }, e) : n;
        }
      }
    },
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      var r,
        a,
        o,
        i = n(462),
        s = n(460),
        l = n.n(s),
        c = n(21),
        d = n(485),
        p = n(539),
        u = n(39);
      function m(e) {
        return e.length > 0;
      }
      class string_StringAttribute extends s.Component {
        render() {
          const {
            value: e,
            errorMessage: t,
            onSubmit: n,
            onChange: r,
            placeholder: a,
            id: o,
            label: i,
            saveState: s,
            disabled: c,
            isBorderless: d,
            isReplyType: h,
            isSubmittable: b,
            hideErrorMessage: g,
            ariaLabel: f,
          } = this.props;
          return l.a.createElement(p.a, {
            value: e,
            placeholder: a,
            id: o,
            label: i,
            saveState: s,
            disabled: c,
            isValid: m,
            isBorderless: d,
            isReplyType: h,
            isNotificationChannel: !1,
            isSubmittable: b,
            onSubmit: n,
            onChange: r,
            hideErrorMessage: g,
            validationErrorMessage: t || Object(u.e)('string_is_incorrect'),
            ariaLabel: f || a,
          });
        }
      }
      (o = { isSubmittable: !0, hideErrorMessage: !1 }),
        (a = 'defaultProps') in (r = string_StringAttribute)
          ? Object.defineProperty(r, a, {
              value: o,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (r[a] = o);
      var h = n(592);
      function b(e) {
        return !!e.match(/^-?\d+$/);
      }
      class integer_IntegerAttribute extends s.Component {
        render() {
          const {
            value: e,
            errorMessage: t,
            onSubmit: n,
            saveState: r,
            disabled: a,
            isBorderless: o,
            isReplyType: i,
            ariaLabel: s,
          } = this.props;
          return l.a.createElement(p.a, {
            value: e,
            placeholder: Object(u.e)('type_a_number'),
            saveState: r,
            disabled: a,
            isValid: b,
            isBorderless: o,
            isReplyType: i,
            isNotificationChannel: !1,
            onSubmit: n,
            validationErrorMessage: t || Object(u.e)('number_is_incorrect'),
            ariaLabel: s || Object(u.e)('type_a_number'),
          });
        }
      }
      function g(e) {
        return !!e.match(/^-?\d+\.\d+$/);
      }
      function f(e) {
        return (function (e) {
          return !!e.match(/^-?\d+$/);
        })(e)
          ? `${e}.0`
          : e;
      }
      class float_FloatAttribute extends s.Component {
        render() {
          const {
            value: e,
            errorMessage: t,
            onSubmit: n,
            saveState: r,
            disabled: a,
            isBorderless: o,
            isReplyType: i,
            ariaLabel: s,
          } = this.props;
          return l.a.createElement(p.a, {
            value: e,
            placeholder: Object(u.e)('type_a_number'),
            saveState: r,
            disabled: a,
            isValid: g,
            formatter: f,
            isBorderless: o,
            isReplyType: i,
            isNotificationChannel: !1,
            onSubmit: n,
            validationErrorMessage: t || Object(u.e)('number_is_incorrect'),
            ariaLabel: s || Object(u.e)('type_a_number'),
          });
        }
      }
      var v = n(506),
        x = n(461);
      const y = Object(x.c)('div', { target: 'e15yvv340' })({
          name: '1jke4yk',
          styles: 'position:relative;width:100%;',
        }),
        j = Object(x.c)('span', { target: 'e15yvv341' })({
          name: 'in3yi3',
          styles: 'font-weight:bold;',
        });
      var O = {
          name: '1mautmz',
          styles: 'border-left-width:0;border-top-left-radius:0;border-bottom-left-radius:0;',
        },
        C = { name: '1uc1y8d', styles: 'border-right-width:0;' },
        w = { name: 'tsqr3a', styles: 'border-top-right-radius:0;border-bottom-right-radius:0;' },
        E = {
          name: 'f0uxs0',
          styles: '&:hover,&:focus{border-left-width:1px;margin-left:-1px;width:50%;}',
        };
      const k = Object(x.c)('button', { target: 'e15yvv342' })(
        'box-sizing:border-box;border:1px solid ',
        Object(x.f)('attributeButtonColor'),
        ';color:',
        Object(x.f)('attributeButtonColor'),
        ';border-radius:4px;display:inline-block;font-size:14px;padding:12px;text-align:center;width:calc(50% - 1px);&,*{cursor:pointer;}&[disabled]{cursor:not-allowed;}',
        ({ saveState: e, theme: t }) =>
          ('saving' === e || 'saved' === e) &&
          Object(x.b)('border:1px solid ', t.attributeButtonColor, ';&,*{cursor:default;}'),
        ' ',
        ({ value: e, theme: t }) =>
          void 0 === e &&
          Object(x.b)(
            'color:',
            t.attributeButtonColor,
            ';cursor:pointer;&:hover,&:focus{background-color:',
            t.attributeButtonHoverColor,
            ';}&:active{background-color:',
            t.attributeButtonActiveColor,
            ';}'
          ),
        ' ',
        ({ value: e, option: t }) => void 0 === e && !1 === t && E,
        ' ',
        ({ option: e }) => !0 === e && w,
        ' ',
        ({ option: e, value: t }) => !0 === e && void 0 !== t && t !== e && C,
        ' ',
        ({ option: e }) => !1 === e && O,
        ' ',
        ({ option: e, value: t, theme: n }) =>
          e === t &&
          Object(x.b)(
            'border-left-width:1px;background-color:',
            n.attributeButtonColor,
            ';',
            j.className,
            '{color:',
            n.white,
            ';}'
          ),
        ' ',
        ({ option: e, value: t, theme: n }) =>
          void 0 !== t && t !== e && Object(x.b)(j.className, '{color:', n.grey, ';}')
      );
      class boolean_BooleanAttribute extends s.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'state', { value: this.props.value });
        }
        createHandleSubmit(e) {
          const { saveState: t } = this.props;
          return 'saved' === t || 'saving' === t
            ? () => {}
            : () => {
                this.props.onSubmit(e);
              };
        }
        render() {
          const { value: e } = this.state,
            { saveState: t, disabled: n } = this.props;
          return l.a.createElement(
            'div',
            null,
            l.a.createElement(
              y,
              null,
              l.a.createElement(
                k,
                {
                  saveState: t,
                  option: !0,
                  value: e,
                  disabled: n,
                  onClick: this.createHandleSubmit(!0),
                },
                l.a.createElement(j, null, Object(u.e)('attribute_collector_positive'))
              ),
              l.a.createElement(
                k,
                {
                  saveState: t,
                  option: !1,
                  value: e,
                  disabled: n,
                  onClick: this.createHandleSubmit(!1),
                },
                l.a.createElement(j, null, Object(u.e)('attribute_collector_negative'))
              )
            ),
            'failed' === this.props.saveState &&
              l.a.createElement(v.a, { errorMessage: Object(u.e)('something_is_wrong') })
          );
        }
      }
      var S = n(685),
        _ = n(689),
        P = n(694),
        T = n(156);
      const B = Object(x.c)('div', { target: 'e11jhrle0' })({
          name: '1gzi742',
          styles: 'margin:0 0 16px;&:last-child{margin:0;}',
        }),
        N = Object(x.c)('div', { target: 'e11jhrle1' })({
          name: 'pb238u',
          styles: 'margin-bottom:5px;font-size:14px;line-height:20px;',
        });
      function A(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class attribute_collector_card_attribute_AttributeCollectorCardAttribute extends s.Component {
        constructor(...e) {
          super(...e),
            A(this, 'handleSubmit', (e) => {
              const { identifier: t, onSubmit: n } = this.props;
              n(t, e);
            }),
            A(this, 'handleArraySubmit', (e) => {
              this.handleSubmit(e.text);
            });
        }
        fitsButtonGroupLayout(e) {
          const t = e.length,
            n = Math.floor(18 / t);
          return t <= 4 && e.every((e) => e.length <= n);
        }
        renderAttribute() {
          const {
              name: e,
              type: t,
              identifier: n,
              value: r,
              options: a,
              saveState: o,
              defaultCountryCode: i,
              isBorderless: s,
              isReplyType: c,
              disabled: d,
            } = this.props,
            p = r ? String(r) : void 0;
          return 'email' === n
            ? l.a.createElement(h.a, {
                disabled: d,
                value: p,
                saveState: o,
                isBorderless: s,
                isReplyType: c,
                isNotificationChannel: !1,
                onSubmit: this.handleSubmit,
              })
            : 'phone' === n
            ? l.a.createElement(P.a, {
                disabled: d,
                value: p,
                key: p,
                saveState: o,
                defaultCountryCode: i,
                isBorderless: s,
                isReplyType: c,
                isNotificationChannel: !1,
                onSubmit: this.handleSubmit,
              })
            : 'string' === t && Array.isArray(a)
            ? this.renderArrayAttribute(a, p)
            : 'string' === t
            ? l.a.createElement(string_StringAttribute, {
                disabled: d,
                value: p,
                saveState: o,
                isBorderless: s,
                isReplyType: c,
                onSubmit: this.handleSubmit,
                ariaLabel: e,
              })
            : 'integer' === t
            ? l.a.createElement(integer_IntegerAttribute, {
                disabled: d,
                value: p,
                saveState: o,
                isBorderless: s,
                isReplyType: c,
                onSubmit: this.handleSubmit,
                ariaLabel: e,
              })
            : 'float' === t
            ? l.a.createElement(float_FloatAttribute, {
                disabled: d,
                value: p,
                saveState: o,
                isBorderless: s,
                isReplyType: c,
                onSubmit: this.handleSubmit,
                ariaLabel: e,
              })
            : 'boolean' !== t || ('boolean' != typeof r && void 0 !== r)
            ? null
            : l.a.createElement(boolean_BooleanAttribute, {
                disabled: d,
                value: r,
                key: JSON.stringify(r),
                saveState: o,
                isBorderless: s,
                isReplyType: c,
                onSubmit: this.handleSubmit,
              });
        }
        renderArrayAttribute(e, t) {
          const { saveState: n, frameWindow: r, disabled: a } = this.props,
            o = t ? { id: t, text: t } : null,
            i = e.map((e) => ({ id: e, text: e }));
          return this.fitsButtonGroupLayout(e)
            ? l.a.createElement(_.a, {
                disabled: a,
                value: o,
                key: Object(T.a)(JSON.stringify(o)),
                options: i,
                saveState: n,
                onChange: this.handleArraySubmit,
              })
            : l.a.createElement(S.a, {
                disabled: a,
                value: o,
                options: i,
                saveState: n,
                autoFocus: !0,
                frameWindow: r,
                onChange: this.handleArraySubmit,
              });
        }
        render() {
          const { name: e, number: t } = this.props;
          return l.a.createElement(
            B,
            null,
            l.a.createElement(N, null, void 0 !== t ? `${t}. ${e}` : e),
            this.renderAttribute()
          );
        }
      }
      var M = n(463);
      const I = Object(x.d)('0%{opacity:0;}70%{opacity:0;}100%{opacity:1;}'),
        z = Object(x.c)('div', { target: 'e17b05a30' })({
          name: '6sa1y5',
          styles: 'position:absolute;/* @noflip */ left:0;bottom:10px;',
        }),
        L = Object(x.c)('div', { target: 'e17b05a31' })(
          'position:absolute;right:0;top:0;color:',
          Object(x.f)('grey'),
          ';font-size:14px;line-height:20px;'
        ),
        R = Object(x.c)('div', { target: 'e17b05a32' })(
          'position:relative;padding:26px 24px 24px;/* @noflip */ margin-left:45px;text-align:left;background-color:',
          Object(x.f)('white'),
          ';border-radius:5px;color:',
          Object(x.f)('bodyText'),
          ';',
          M.c
        ),
        F = Object(x.c)('div', { target: 'e17b05a33' })({
          name: 'uewl2b',
          styles: 'margin-bottom:20px;',
        }),
        D = Object(x.c)('div', { target: 'e17b05a34' })({
          name: '79elbk',
          styles: 'position:relative;',
        }),
        H = Object(x.c)('h2', { target: 'e17b05a35' })(
          'color:',
          Object(x.f)('bodyText'),
          ';font-weight:600;font-size:16px;'
        ),
        W = Object(x.c)('h3', { target: 'e17b05a36' })(
          'color:',
          Object(x.f)('metaText'),
          ';font-size:14px;margin-top:8px;'
        );
      var q = { name: 'o7rt0f', styles: 'margin-top:3px;' };
      const U = Object(x.c)('div', { target: 'e17b05a37' })(
        'margin-top:8px;margin-bottom:8px;width:100%;position:relative;/* @noflip */ float:left;',
        ({ theme: e, isBorderless: t }) =>
          t &&
          Object(x.b)(
            'min-height:57px;',
            R.className,
            '{box-shadow:',
            e.notificationBoxShadow,
            ';border-color:',
            e.white,
            ';}'
          ),
        ' ',
        ({ isReplyType: e }) => e && q,
        ' ',
        ({ theme: e, isReplyType: t }) =>
          e.isMobileBrowser && t && Object(x.b)(R.className, '{/* @noflip */ margin-left:0;}'),
        ' ',
        ({ isBorderless: e, isReplyType: t }) =>
          e &&
          t &&
          Object(x.b)(
            'animation:',
            I,
            ' 750ms ease;',
            R.className,
            '{padding:0;}',
            B.className,
            '{margin:0;height:52px;}',
            N.className,
            '{display:none;}'
          )
      );
      function V(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      function G(e) {
        const { form: t } = e;
        return t
          ? t.attributes.reduce(
              (e, { identifier: t, saveState: n }) => Object.assign({}, e, { [t]: n }),
              {}
            )
          : {};
      }
      function $(e) {
        return Object.keys(e).length;
      }
      function X(e) {
        return Object.keys(e).filter((t) => 'saved' === e[t] || 'failed' === e[t]).length;
      }
      class attribute_collector_card_AttributeCollectorCard extends s.Component {
        constructor(...e) {
          super(...e),
            V(this, 'state', { saveStates: G(this.props.part) }),
            V(this, 'node', void 0),
            V(this, 'renderAttribute', (e, t) => {
              const {
                  isBorderless: n,
                  isReplyType: r,
                  defaultCountryCode: a,
                  frameWindow: o,
                  onAttributeSubmit: i,
                  disabled: s,
                  hideNumbering: c,
                } = this.props,
                { saveStates: d } = this.state;
              if (t > X(d)) return null;
              const { type: p, name: u, identifier: m, options: h, value: b, saveState: g } = e;
              let f;
              return (
                $(d) > 1 && !c && (f = `${t + 1}`),
                l.a.createElement(
                  attribute_collector_card_attribute_AttributeCollectorCardAttribute,
                  {
                    key: m,
                    type: p,
                    name: u,
                    identifier: m,
                    value: b,
                    number: f,
                    options: h,
                    disabled: s,
                    saveState: g,
                    defaultCountryCode: a,
                    isBorderless: n,
                    isReplyType: r,
                    frameWindow: o,
                    onSubmit: i,
                  }
                )
              );
            });
        }
        componentDidMount() {
          const { part: e, conversationId: t } = this.props,
            { form: n } = e;
          n &&
            n.attributes.forEach(({ identifier: e }) => {
              'email' === e && this.props.onEmailAttributeMount(t);
            });
        }
        componentDidUpdate(e, t) {
          X(t.saveStates) !== X(this.state.saveStates) &&
            (function (e) {
              if (!e) return;
              const t = e.closest('.intercom-conversation-body-parts');
              t && Object(c.z)(t);
            })(this.node);
        }
        renderAvatar() {
          return l.a.createElement(
            z,
            null,
            l.a.createElement(d.a, { author: this.props.part.author })
          );
        }
        renderForm() {
          const { form: e } = this.props.part;
          return e ? e.attributes.map(this.renderAttribute) : null;
        }
        renderHeader() {
          const { form: e } = this.props.part;
          if (!e) return null;
          const t = e.title && e.title.length > 0,
            n = e.subtitle && e.subtitle.length > 0;
          return t
            ? l.a.createElement(
                F,
                null,
                t ? l.a.createElement(H, null, e.title) : null,
                n ? l.a.createElement(W, null, e.subtitle) : null
              )
            : null;
        }
        renderPosition() {
          const { saveStates: e } = this.state,
            t = $(e);
          if (1 === t) return null;
          const n = Math.min(t, X(e) + 1);
          return l.a.createElement(L, null, '(', n, '/', t, ')');
        }
        render() {
          const { isBorderless: e, isReplyType: t } = this.props;
          return l.a.createElement(
            U,
            { isBorderless: e, isReplyType: t, ref: (e) => (this.node = e) },
            this.props.hasAvatar ? this.renderAvatar() : null,
            l.a.createElement(
              R,
              null,
              this.renderHeader(),
              l.a.createElement(D, null, this.renderPosition(), this.renderForm())
            )
          );
        }
      }
      var Y = n(3),
        K = n(6),
        Z = n(47),
        J = n(7);
      t.a = Object(i.connect)(
        (e, t) => {
          const { part: n } = t,
            r = e.app.conversationId || e.message.conversationId,
            { id: a } = n;
          return { conversationId: r, partId: a, defaultCountryCode: e.user.countryCode || 'us' };
        },
        (e) => ({
          onAttributeSubmit(t, n, r, a, o, i) {
            e(Object(K.s)(Y.b, t, n, r, a, o, i, Object(J.k)({ identifier: r })));
          },
          onEmailAttributeMount(t) {
            e(Object(Z.c)(t));
          },
        }),
        (e, t, n) =>
          Object.assign({}, e, t, n, {
            onAttributeSubmit(r, a) {
              t.onAttributeSubmit(
                e.conversationId,
                e.partId,
                r,
                a,
                Object(J.c)(n.part.form, r),
                n.part.form.type
              );
            },
          })
      )(attribute_collector_card_AttributeCollectorCard);
    },
    function (e, t, n) {
      'use strict';
      var r = n(462),
        a = n(52),
        o = n.n(a),
        i = n(460),
        s = n.n(i),
        l = n(471),
        c = n(2),
        d = n(521),
        p = n(508),
        u = n(513);
      const m = (e, t) => {
        const n = [];
        let r = 0;
        return (a) => {
          const [o, i] = ((e, t) => {
              if (!e) return [0, 0];
              const n = e.querySelector('button');
              if (!n) return [0, 0];
              (n.style.display = ''), (n.textContent = t);
              const r = [n.offsetWidth + d.a, n.offsetHeight + d.a];
              return (n.style.display = 'none'), r;
            })(t, a),
            s = (n.filter((e) => e[1] === r) || []).map((e) => e[2]).reduce((e, t) => e + t, 0);
          if (o + s > e) {
            const e = n.length > 0 ? n[n.length - 1][3] : 0;
            r += e;
          } else
            n.forEach((e) => {
              e[1] === r && (e[0] = e[0] - o);
            });
          const l = [0, r, o, i];
          return n.push(l), { bounds: l };
        };
      };
      function h(e) {
        const {
          replyOption: t,
          onSelect: n,
          focused: r,
          style: a,
          isTypeaheadSuggestion: o,
          isBorderless: i,
        } = e;
        return s.a.createElement(d.j, {
          label: t.text,
          value: t,
          onClick: n,
          focused: r,
          isTypeaheadSuggestion: o,
          isBorderless: i,
          style: a,
        });
      }
      var b = Object(i.forwardRef)(({ maxWidth: e }, t) =>
          s.a.createElement(
            d.i,
            null,
            s.a.createElement(
              d.h,
              { ref: t },
              s.a.createElement(d.j, { tabIndex: '-1', style: { display: 'none', maxWidth: e } })
            )
          )
        ),
        g = n(82),
        f = n(671);
      function v(e, t) {
        if (null == e) return {};
        var n,
          r,
          a = (function (e, t) {
            if (null == e) return {};
            var n,
              r,
              a = {},
              o = Object.keys(e);
            for (r = 0; r < o.length; r++) (n = o[r]), t.indexOf(n) >= 0 || (a[n] = e[n]);
            return a;
          })(e, t);
        if (Object.getOwnPropertySymbols) {
          var o = Object.getOwnPropertySymbols(e);
          for (r = 0; r < o.length; r++)
            (n = o[r]),
              t.indexOf(n) >= 0 ||
                (Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n]));
        }
        return a;
      }
      function x(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function y(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? x(Object(n), !0).forEach(function (t) {
                j(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : x(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function j(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      function O(e) {
        const {
            suggestions: t,
            onSelect: n,
            onHeightChange: a,
            isInboundBotSuggestions: o,
            isTypeaheadSuggestions: l,
            isBorderless: c,
          } = e,
          p = Object(i.useRef)(null),
          x = p.current ? p.current.parentNode.offsetWidth : 0,
          j = `${x - 2 * d.b}px`,
          O = p.current ? t : [],
          C = m(x, p.current),
          w = O.map((e) =>
            y(y(y({}, e), C(e.text)), {}, { isInboundBotSuggestion: o, isTypeaheadSuggestion: l })
          ),
          E = w[w.length - 1],
          k = E ? E.bounds[1] + E.bounds[3] : 0,
          S = Object(u.useTransition)(w, (e) => e.uuid, {
            from: ({ bounds: e }) => ({ bounds: e, opacity: 0 }),
            enter: ({ bounds: e }) => ({ bounds: e, opacity: 1 }),
            update: ({ bounds: e }) => ({ bounds: e }),
            leave: { opacity: 0.01, pointerEvents: 'none' },
            config: { mass: 3, tension: 1e3, friction: 200 },
            trail: 25,
            immediate: !1,
          }),
          _ = Object(r.useSelector)(g.b);
        Object(i.useEffect)(() => {
          k && a && (a(k), setTimeout(() => a(k), d.d));
        }, [k, a, _]),
          Object(f.a)(0);
        const P = S[0] && S[0].item && S[0].item.isInboundBotSuggestion;
        return s.a.createElement(
          d.l,
          { height: k, isInboundBot: P },
          s.a.createElement(b, { ref: p, maxWidth: j }),
          S.map((e) => {
            let {
                item: t,
                props: { bounds: r },
                key: a,
              } = e,
              o = v(e.props, ['bounds']);
            return s.a.createElement(h, {
              key: a,
              focused: !1,
              replyOption: t,
              onSelect: n,
              isTypeaheadSuggestion: t.isTypeaheadSuggestion,
              isBorderless: c,
              style: y(
                { transform: r.to((e, t) => `translate3d(${e}px,${t}px,0)`), maxWidth: j },
                o
              ),
            });
          })
        );
      }
      var C = n(534),
        w = n(39),
        E = n(17);
      function k(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function S(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? k(Object(n), !0).forEach(function (t) {
                _(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : k(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function _(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_suggestions_ConversationSuggestions extends i.Component {
        constructor(...e) {
          super(...e),
            _(this, 'receiveMetricSent', !1),
            _(this, 'shouldExecuteOnSuggestionsCb', !0),
            _(this, 'handleClick', async (e) => {
              const { conversationSuggestions: t, composerContent: n } = this.props;
              this.context && this.context.emptyComposer && this.context.emptyComposer(),
                await this.props.onClick(e);
              const { conversation: r } = this.props,
                a = {
                  conversation_id: null == r ? void 0 : r.id,
                  conversationSuggestions: t,
                  composerContent: n,
                  suggestion: e,
                };
              Object(c.e)(
                'clicked',
                this.getMetricNameForSuggestionType(e.type),
                'messenger',
                '',
                a
              );
            }),
            _(this, 'handleDismissSuggestions', () => {
              const {
                setComposerSuggestionsDismissed: e,
                conversationSuggestions: t,
                conversation: n,
                composerContent: r,
              } = this.props;
              Object(c.e)('dismissed', 'composer_suggestions', 'messenger', '', {
                conversationSuggestions: t,
                composerContent: r,
                conversation_id: null == n ? void 0 : n.id,
              }),
                e && e();
            }),
            _(this, 'renderSuggestionsHeader', () => {
              const { isTypeaheadSuggestions: e } = this.props.conversationSuggestions,
                t = this.prompt();
              return t.length
                ? s.a.createElement(d.m, null, s.a.createElement(l.a, { autoPlay: !1, blocks: t }))
                : this.suggestions().length && e
                ? s.a.createElement(
                    d.e,
                    null,
                    s.a.createElement(
                      d.g,
                      { onClick: this.handleDismissSuggestions },
                      Object(w.e)('dont_show_suggestions')
                    ),
                    s.a.createElement(d.f, { onClick: this.handleDismissSuggestions })
                  )
                : null;
            });
        }
        componentDidMount() {
          this.executeCallbacksAndMetrics();
        }
        componentDidUpdate() {
          this.executeCallbacksAndMetrics();
        }
        executeCallbacksAndMetrics() {
          const { conversationSuggestions: e, onSuggestionsShow: t } = this.props,
            n = e && e.suggestions.length;
          var r;
          n &&
            !this.receiveMetricSent &&
            (Object(c.e)(
              'received',
              'composer_suggestions',
              'messenger',
              '',
              S(
                S({}, e),
                {},
                { url: null === (r = Object(E.d)()) || void 0 === r ? void 0 : r.href }
              )
            ),
            (this.receiveMetricSent = !0));
          n &&
            t &&
            this.shouldExecuteOnSuggestionsCb &&
            (t(), (this.shouldExecuteOnSuggestionsCb = !1)),
            n || (this.shouldExecuteOnSuggestionsCb = !0);
        }
        shouldShowSuggestions() {
          const { conversation: e, conversationSuggestions: t } = this.props;
          if (!t) return !1;
          const { suggestions: n } = t;
          if (!n.length || 'quick_reply' !== n[0].type) return !0;
          const r = Object(C.b)(e);
          return o()(r, n);
        }
        suggestions() {
          if (!this.shouldShowSuggestions()) return [];
          const { suggestions: e } = this.props.conversationSuggestions;
          return e;
        }
        prompt() {
          if (!this.shouldShowSuggestions()) return [];
          const { prompt: e } = this.props.conversationSuggestions;
          return e;
        }
        render() {
          const { isBorderless: e, conversationSuggestions: t } = this.props;
          if (!t) return null;
          const { isInboundBotSuggestions: n, isTypeaheadSuggestions: r } = t,
            a = this.suggestions();
          return s.a.createElement(
            d.c,
            {
              className: 'composer-suggestions-container',
              isBorderless: e,
              isTypeaheadSuggestions: r,
              suggestionsVisible: a.length > 0,
            },
            this.renderSuggestionsHeader(),
            s.a.createElement(
              d.k,
              null,
              s.a.createElement(O, {
                isInboundBotSuggestions: n,
                isTypeaheadSuggestions: r,
                suggestions: a,
                onSelect: this.handleClick,
                onHeightChange: this.props.onHeightChange,
                isBorderless: e,
              })
            )
          );
        }
        getMetricNameForSuggestionType(e) {
          switch (e) {
            case 'messenger_suggested_content':
              return 'composer_smart_suggestions';
            case 'predictive_answer':
              return 'predictive_answer';
            default:
              return 'composer_suggestions';
          }
        }
      }
      _(conversation_suggestions_ConversationSuggestions, 'contextType', p.a);
      t.a = Object(r.connect)((e) => {
        const { composer: t } = e;
        return { composerContent: t.content };
      })(conversation_suggestions_ConversationSuggestions);
    },
    function (e, t, n) {
      'use strict';
      var r = n(9);
      n.d(t, 'a', function () {
        return o;
      }),
        n.d(t, 'b', function () {
          return i;
        });
      const a = ['image/gif', 'image/jpeg', 'image/png', 'image/webp', 'image/bmp', 'image/x-icon'],
        o = (e) =>
          new Promise((t, n) => {
            const r = new Image();
            r.onload = () => {
              const rtn = t(r);
              return rtn;
            };
            r.onerror = (err) => {
              console.error('new Image', err);
              return n();
            };
            r.src = e;
          }),
        i = (e) =>
          new Promise((t, n) => {
            s(e) && Object(r.c)()
              ? ((e, t) => {
                  const n = new FileReader();
                  (n.onload = (e) => {
                    const n = new DataView(e.target.result);
                    if (65496 !== n.getUint16(0, !1)) return t(-2);
                    const r = n.byteLength;
                    let a = 2;
                    for (; a < r; ) {
                      const e = n.getUint16(a, !1);
                      if (((a += 2), 65505 === e)) {
                        if (1165519206 !== n.getUint32((a += 2), !1)) return t(-1);
                        const e = 18761 === n.getUint16((a += 6), !1);
                        a += n.getUint32(a + 4, e);
                        const r = n.getUint16(a, e);
                        a += 2;
                        for (let o = 0; o < r; o++)
                          if (274 === n.getUint16(a + 12 * o, e))
                            return t(n.getUint16(a + 12 * o + 8, e));
                      } else {
                        if (65280 != (65280 & e)) break;
                        a += n.getUint16(a, !1);
                      }
                    }
                    return t(-1);
                  }),
                    n.readAsArrayBuffer(e.slice(0, 65536));
                })(e, (r) => {
                  const a = URL.createObjectURL(e),
                    o = (e) => {
                      const r = new Image();
                      (r.onload = () => t(r)), (r.onerror = () => n()), (r.src = e);
                    };
                  r <= 1
                    ? (function (e, t) {
                        const n = new FileReader();
                        (n.onload = (e) => {
                          t(e.target.result);
                        }),
                          n.readAsDataURL(e);
                      })(e, o)
                    : ((e, t, n, r) => {
                        const a = new Image();
                        (a.src = e),
                          (a.onload = function () {
                            const e = a.width,
                              o = a.height,
                              i = document.createElement('canvas'),
                              s = i.getContext('2d');
                            switch (
                              (4 < t && t < 9
                                ? ((i.width = o), (i.height = e))
                                : ((i.width = e), (i.height = o)),
                              t)
                            ) {
                              case 2:
                                s.transform(-1, 0, 0, 1, e, 0);
                                break;
                              case 3:
                                s.transform(-1, 0, 0, -1, e, o);
                                break;
                              case 4:
                                s.transform(1, 0, 0, -1, 0, o);
                                break;
                              case 5:
                                s.transform(0, 1, 1, 0, 0, 0);
                                break;
                              case 6:
                                s.transform(0, 1, -1, 0, o, 0);
                                break;
                              case 7:
                                s.transform(0, -1, -1, 0, o, e);
                                break;
                              case 8:
                                s.transform(0, -1, 1, 0, 0, e);
                            }
                            s.drawImage(a, 0, 0), r(i.toDataURL(n));
                          });
                      })(a, r, e.type, o);
                })
              : t();
          }),
        s = (e) => -1 !== a.indexOf(e.type.toLowerCase());
    },
    function (e, t, n) {
      'use strict';
      var r = n(461);
      n(460);
      var a = n.p + 'images/muted.d91ce818.svg';
      var o = n.p + 'images/not-muted.d4774438.svg',
        i = n(660);
      n.d(t, 'b', function () {
        return l;
      }),
        n.d(t, 'c', function () {
          return m;
        }),
        n.d(t, 'd', function () {
          return g;
        }),
        n.d(t, 'a', function () {
          return f;
        });
      const s = (e) =>
          Object(r.b)(
            'pointer-events:auto;cursor:pointer;background-size:24px 24px;background-repeat:no-repeat;background-position:center center;z-index:2;filter:drop-shadow(0 0.5px 1px rgba(0,0,0,0.6));transition:opacity 200ms cubic-bezier(0.165,0.84,0.44,1);',
            e.muted && Object(r.b)('background-image:url(', a, ');'),
            ' ',
            !e.muted && Object(r.b)('background-image:url(', o, ');')
          ),
        l = Object(r.c)('div', { target: 'e1sbn1pi0' })(
          'position:absolute;/* @noflip */ right:2px;bottom:2px;width:44px;height:44px;',
          s
        ),
        c = ['ready', 'paused', 'complete'];
      var d = { name: '1bvspcf', styles: '&:hover{opacity:1;}' },
        p = { name: '1dxihrj', styles: 'opacity:1;&:hover{opacity:0.85;}' },
        u = { name: 'q7lffx', styles: 'opacity:0;' };
      const m = Object(r.c)('div', { target: 'e1sbn1pi1' })(
        'position:static;/* @noflip */ right:auto;bottom:auto;/* @noflip */ margin-left:8px;fill:white;transform:scale(0.9);width:24px;height:24px;',
        s,
        ' ',
        ({ playState: e }) => 'loading' === e && u,
        ' ',
        ({ playState: e }) => -1 !== c.indexOf(e) && p,
        ' ',
        ({ playState: e }) => 'playing' === e && d
      );
      var h = { name: 'whh5e5', styles: 'opacity:1;' },
        b = { name: '1dacand', styles: 'padding-top:0;' };
      const g = Object(r.c)('div', { target: 'e1sbn1pi2' })(
          'display:flex;align-items:center;color:#fff;font-size:13px;text-shadow:0px 0.5px 1px rgba(0,0,0,0.25);opacity:0;transition:opacity 300ms cubic-bezier(0.165,0.84,0.44,1);pointer-events:all;height:16px;/* @noflip */ padding:12px 12px 12px 16px;',
          i.a.className,
          '{flex:1;}',
          ({ hasCaptions: e }) => e && b,
          ' ',
          ({ shiftUp: e }) => e && h
        ),
        f = Object(r.c)('div', { target: 'e1sbn1pi3' })({ name: '13s8c95', styles: 'width:35px;' });
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(39),
        i = n(461),
        s = n(645);
      const l = Object(i.c)(s.a, { target: 'egek4pu0' })({
        name: '1w19lv8',
        styles: 'position:relative;top:2px;right:8px;',
      });
      var c = { name: '1mbidny', styles: 'margin:8px 0px 0px 42px;width:81%;' };
      const d = Object(i.c)('button', { target: 'egek4pu1' })(
        'svg{path{fill:',
        Object(i.f)('buttonBackgroundColor'),
        ';}}padding:10px;border:1px solid ',
        Object(i.f)('buttonBackgroundColor'),
        ';border-radius:40px;margin:0 20px 20px 20px;width:240px;text-align:center;font-size:14px;font-weight:600;color:',
        Object(i.f)('buttonBackgroundColor'),
        ';background-color:',
        Object(i.f)('buttonTextColor'),
        ';',
        ({ isBorderless: e }) => e && c
      );
      function p(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'a', function () {
        return reply_to_button_ReplyToButton;
      });
      class reply_to_button_ReplyToButton extends r.PureComponent {
        constructor(...e) {
          super(...e),
            p(this, 'ref', void 0),
            p(this, 'setReplyToButtonRef', (e) => {
              this.ref = e;
            });
        }
        componentDidMount() {
          const { onShow: e } = this.props;
          if (!this.ref || !e) return;
          e(this.ref.clientHeight + 10);
        }
        render() {
          const { onClick: e, isBorderless: t } = this.props;
          return a.a.createElement(
            d,
            { ref: this.setReplyToButtonRef, onClick: e, isBorderless: t },
            a.a.createElement(l, null),
            Object(o.e)('reply_to_conversation').replace('…', '')
          );
        }
      }
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(73),
        i = n.n(o),
        s = n(544),
        l = n(461),
        c = n(662);
      const d = Object(l.c)('div', { target: 'ee6m5h00' })(
          'font-size:',
          96,
          'px;line-height:',
          96,
          'px;margin-top:',
          12,
          'px;',
          c.f.className,
          '{font-size:',
          38,
          'px;line-height:',
          38,
          'px;margin-top:',
          4.75,
          'px;margin-bottom:',
          4.75,
          'px;}',
          c.d.className,
          '{font-size:',
          45,
          'px;line-height:',
          45,
          'px;margin-top:',
          45 / 8,
          'px;margin-bottom:',
          45 / 8,
          'px;}'
        ),
        p = Object(l.c)('img', { target: 'ee6m5h01' })(
          'width:',
          96,
          'px;height:',
          96,
          'px;min-width:',
          96,
          'px;min-height:',
          96,
          'px;',
          c.f.className,
          '{width:',
          38,
          'px;height:',
          38,
          'px;min-width:',
          38,
          'px;min-height:',
          38,
          'px;}',
          c.d.className,
          '{width:',
          45,
          'px;height:',
          45,
          'px;min-width:',
          45,
          'px;min-height:',
          45,
          'px;}'
        );
      var u,
        m,
        h,
        b = n(527),
        g = n.n(b);
      n.d(t, 'a', function () {
        return sticker_Sticker;
      });
      class sticker_Sticker extends r.Component {
        render() {
          const { text: e } = this.props,
            t = Object(s.d)(i()(e).replace('&nbsp;', '').trim());
          return this.useNativeEmoji() ? this.renderNative(t) : this.renderImage(t);
        }
        renderNative(e) {
          return a.a.createElement(
            d,
            { 'role': 'img', 'aria-label': Object(s.a)(this.props.text) || e },
            e
          );
        }
        renderImage(e) {
          const t = g.a.twemojiSVGUri(e);
          return a.a.createElement(p, {
            'src': t,
            'alt': e,
            'aria-label': Object(s.a)(this.props.text),
          });
        }
        useNativeEmoji() {
          const { emoji: e } = this.props;
          return 'native' === e || ('image' !== e && ('auto' === e ? Object(s.b)() : void 0));
        }
      }
      (h = { emoji: 'auto' }),
        (m = 'defaultProps') in (u = sticker_Sticker)
          ? Object.defineProperty(u, m, {
              value: h,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (u[m] = h);
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      function r() {
        const e = window.document,
          t = e.createElement('div');
        (t.style.visibility = 'hidden'),
          (t.style.width = '100px'),
          (t.style.msOverflowStyle = 'scrollbar'),
          e.body.appendChild(t);
        const n = t.offsetWidth;
        t.style.overflow = 'scroll';
        const r = e.createElement('div');
        (r.style.width = '100%'), t.appendChild(r);
        const a = r.offsetWidth;
        return t.parentNode.removeChild(t), n - a;
      }
      n.d(t, 'a', function () {
        return r;
      });
    },
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r);
      t.a = () =>
        a.a.createElement(
          'svg',
          { 'focusable': 'false', 'aria-hidden': 'true' },
          a.a.createElement(
            'g',
            { fill: 'none', fillRule: 'evenodd', strokeLinejoin: 'round' },
            a.a.createElement('path', {
              d: 'M9 10.995V5.672M16.652 15.652H1.348L9 .348z',
              strokeLinecap: 'round',
            }),
            a.a.createElement('path', {
              d: 'M9.348 13.217a.348.348 0 1 1-.696 0 .348.348 0 0 1 .696 0z',
            })
          )
        );
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return r;
      });
      const r = (e, t, n = !1) => {
        let r = e.slice(0, t);
        return (
          n && (r = r.reverse()),
          [...r.filter((e) => e.avatar.square128), ...r.filter((e) => !e.avatar.square128)]
        );
      };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return OverlayAvatar;
      });
      var r,
        a,
        o,
        i = n(460),
        s = n.n(i),
        l = n(500),
        c = n(39),
        d = n(640),
        p = n(642),
        u = n(546);
      class OverlayAvatar extends i.Component {
        renderActiveOrAwayState(e) {
          return (
            null !== e.isActive &&
            void 0 !== e.isActive &&
            'en' === Object(c.a)() &&
            s.a.createElement(u.a, { isActive: e.isActive })
          );
        }
        render() {
          const { admins: e, maxAdmins: t } = this.props;
          return s.a.createElement(
            p.a,
            null,
            Object(d.a)(e, t).map((t, n) => {
              const r = e.length - n,
                a = 0 === n;
              return s.a.createElement(
                p.b,
                { key: n, zIndex: r, isFirst: a },
                s.a.createElement(l.a, { admin: t }),
                this.renderActiveOrAwayState(t)
              );
            })
          );
        }
      }
      (o = { admins: [], maxAdmins: 3 }),
        (a = 'defaultProps') in (r = OverlayAvatar)
          ? Object.defineProperty(r, a, {
              value: o,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (r[a] = o);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      }),
        n.d(t, 'b', function () {
          return i;
        });
      var r = n(461),
        a = n(546);
      const o = Object(r.c)('div', { target: 'e140bdmq0' })({
          name: '1e0xhg9',
          styles:
            'display:inline-block;vertical-align:middle;white-space:nowrap;float:left;padding-right:10px;',
        }),
        i = Object(r.c)('div', { target: 'e140bdmq1' })(
          'border:2px solid ',
          Object(r.f)('appSecondaryColor'),
          ';position:relative;display:inline-block;border-radius:100%;',
          ({ zIndex: e, isFirst: t }) =>
            Object(r.b)('z-index:', e, ';margin-left:', t ? 0 : -18, 'px;'),
          ' ',
          a.a.className,
          '{right:0;bottom:0;}'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return Button;
      });
      var r = n(460),
        a = n.n(r),
        o = n(513);
      function i(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class Button extends r.Component {
        constructor(...e) {
          super(...e),
            i(this, 'node', void 0),
            i(this, 'handleOnClick', () => {
              this.props.onClick && this.props.onClick(this.props.value);
            });
        }
        componentDidMount() {
          this.props.focused && this.node && this.node.focus();
        }
        render() {
          return a.a.createElement(
            o.animated.button,
            {
              onClick: this.handleOnClick,
              value: this.props.value,
              style: this.props.style,
              className: this.props.className,
              ref: (e) => (this.node = e),
            },
            this.props.label
          );
        }
      }
      i(Button, 'defaultProps', { value: '', label: '', className: '' });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'c', function () {
        return p;
      }),
        n.d(t, 'b', function () {
          return u;
        }),
        n.d(t, 'd', function () {
          return m;
        }),
        n.d(t, 'a', function () {
          return h;
        });
      var r = n(461),
        a = { name: 'gx0lhm', styles: 'margin-bottom:0;' },
        o = { name: 's2uf1z', styles: 'text-align:right;' },
        i = { name: 'xi606m', styles: 'text-align:center;' },
        s = { name: '13brihr', styles: 'text-align:left;' },
        l = { name: 'b2463j', styles: 'font-size:16px;font-weight:600;' },
        c = { name: '1kuy7z7', styles: 'font-size:14px;' };
      const d = ({ theme: e, variant: t, align: n, isBottomMarginNone: d }) =>
          Object(r.b)(
            'line-height:1.5;margin-bottom:8px;word-break:break-word;',
            'muted' === t &&
              Object(r.b)(
                'color:',
                e.grey,
                ';font-size:14px;',
                m.className,
                '{color:',
                e.grey,
                ';}'
              ),
            ' ',
            'paragraph' === t && c,
            ' ',
            'header' === t && l,
            ' ',
            'error' === t &&
              Object(r.b)(
                'color:',
                e.errorText,
                ';font-size:14px;',
                m.className,
                '{color:',
                e.errorText,
                ';}'
              ),
            ' ',
            'left' === n && s,
            ' ',
            'center' === n && i,
            ' ',
            'right' === n && o,
            ' ',
            d && a
          ),
        p = Object(r.c)('h2', { target: 'e1rnr2bi0' })(d),
        u = Object(r.c)('div', { target: 'e1rnr2bi1' })(d),
        m = Object(r.c)('a', { target: 'e1rnr2bi2' })(
          'text-decoration:underline;color:',
          Object(r.f)('appColor'),
          ';'
        ),
        h = Object(r.c)('b', { target: 'e1rnr2bi3' })({
          name: '35ezg3',
          styles: 'font-weight:600;',
        });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return o;
      });
      var r = n(460),
        a = n.n(r);
      function o(e) {
        return a.a.createElement(
          'svg',
          {
            'focusable': 'false',
            'aria-hidden': 'true',
            'className': e.className,
            'width': '16px',
            'height': '12px',
            'viewBox': '0 0 16 12',
          },
          a.a.createElement(
            'g',
            { stroke: 'none', strokeWidth: '1', fillRule: 'evenodd' },
            a.a.createElement(
              'g',
              { transform: 'translate(-257.000000, -529.000000)' },
              a.a.createElement(
                'g',
                { transform: 'translate(100.000000, 187.000000)' },
                a.a.createElement(
                  'g',
                  { transform: 'translate(94.000000, 0.000000)' },
                  a.a.createElement(
                    'g',
                    { transform: 'translate(16.000000, 169.000000)' },
                    a.a.createElement(
                      'g',
                      { transform: 'translate(24.000000, 159.000000)' },
                      a.a.createElement(
                        'g',
                        { transform: 'translate(23.000000, 14.000000)' },
                        a.a.createElement('path', {
                          d: 'M10.8401488,6.224907 L15.6817765,11.0665347 C15.51005,11.3499528 15.2722574,11.5748794 14.9768457,11.7328673 C14.6509198,11.9071744 14.3276335,12 13.4361148,12 L2.5638852,12 C1.67236646,12 1.34908022,11.9071744 1.0231543,11.7328673 C0.72877254,11.5754302 0.491608869,11.3515205 0.320022148,11.069497 L5.16278101,6.22673813 L7.26933188,7.54333242 C7.55321179,7.72075737 7.66665987,7.76662232 7.80054357,7.79679663 C7.93442727,7.82697094 8.06557273,7.82697094 8.19945643,7.79679663 C8.33334013,7.76662232 8.44678821,7.72075737 8.73066812,7.54333242 L10.8401488,6.224907 Z M11.7104341,5.6809787 L15.6940002,3.19124987 C15.7876675,3.1327078 15.9110576,3.16118243 15.9695997,3.25484974 C15.9894661,3.28663606 16,3.32336558 16,3.36084953 L16,9.4361148 C16,9.63606843 15.9953306,9.80743801 15.9861196,9.95666428 L11.7104341,5.6809787 Z M4.29249574,5.68280984 L0.0141588143,9.96114676 C0.0047635636,9.81087199 2.47328067e-17,9.63807348 0,9.4361148 L1.24567172e-16,3.36084953 C1.11040097e-16,3.25039258 0.08954305,3.16084953 0.2,3.16084953 C0.237483943,3.16084953 0.274213468,3.17138342 0.305999788,3.19124987 L4.29249574,5.68280984 Z M1,-2.48689958e-14 L15,-2.48689958e-14 C15.5522847,-2.49704488e-14 16,0.44771525 16,1 L16,1.8763932 C16,1.95214761 15.9571995,2.02140024 15.8894427,2.05527864 L8.4472136,5.7763932 C8.1656861,5.91715695 7.8343139,5.91715695 7.5527864,5.7763932 L0.110557281,2.05527864 C0.0428004752,2.02140024 3.97855298e-16,1.95214761 3.88578059e-16,1.8763932 L0,1 C-6.76353751e-17,0.44771525 0.44771525,-2.47675427e-14 1,-2.48689958e-14 Z',
                        })
                      )
                    )
                  )
                )
              )
            )
          )
        );
      }
    },
    function (e, t, n) {
      'use strict';
      var r = n(12);
      function a(e) {
        return e ? `draft-${e}` : 'draft';
      }
      function o(e) {
        return r.b.remove(a(e));
      }
      t.a = {
        saveDraft: function (e, t) {
          return t && '' !== t
            ? r.b.set(
                a(e),
                (function (e) {
                  return JSON.stringify({ text: e });
                })(t)
              )
            : o(e);
        },
        loadDraft: function (e) {
          const t = r.b.get(a(e));
          return t ? JSON.parse(t).text : null;
        },
        removeDraft: o,
      };
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return o;
      }),
        n.d(t, 'a', function () {
          return l;
        });
      var r = n(461),
        a = n(463);
      const o = Object(r.c)('div', { target: 'e15xzqf50' })({
        name: '79elbk',
        styles: 'position:relative;',
      });
      var i = { name: '1qm1lh', styles: 'margin-bottom:16px;' },
        s = {
          name: '17h42v1',
          styles: 'max-width:100%;padding:17px 20px;border-radius:6px;display:inline-block;',
        };
      const l = Object(r.c)('div', { target: 'e15xzqf51' })(
        a.h,
        ';margin-bottom:8px;',
        ({ isText: e }) => e && s,
        ' ',
        ({ isMessengerCard: e }) => e && i,
        ' ',
        ({ isUser: e, isText: t, theme: n }) =>
          e && t && Object(r.b)('color:', n.white, ';background-color:', n.appColor, ';'),
        ' ',
        ({ isUser: e, isText: t, theme: n }) =>
          !e &&
          t &&
          Object(r.b)(
            'color:',
            n.bodyText,
            ';background-color:',
            n.adminCommentBackground,
            ';a{text-decoration:underline;}'
          ),
        ' ',
        ({ isBorderless: e, isUser: t, isText: n, theme: a }) =>
          e && !t && n && Object(r.b)('background-color:', a.white, ';a{color:', a.bodyText, ';}'),
        ' ',
        ({ isBorderless: e, hasAvatar: t, isText: n }) =>
          e &&
          t &&
          n &&
          Object(r.b)('&:last-child{border-bottom-left-radius:0;&:after{', a.g, '}}'),
        ' ',
        ({ isBorderless: e, theme: t }) =>
          e && Object(r.b)('box-shadow:', t.notificationBoxShadow, ';'),
        ' &:last-child{margin-bottom:0;}'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return Reaction;
      });
      var r = n(460),
        a = n.n(r),
        o = n(477),
        i = n(544),
        s = n(550);
      class Reaction extends r.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = () => {
              const { onReactionSelect: e, reaction: t } = this.props;
              e(t.index);
            }),
            (n = 'handleClick') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        render() {
          const { reaction: e, hasSelectedReaction: t, isSelected: n } = this.props;
          return a.a.createElement(
            s.a,
            {
              'onClick': this.handleClick,
              'aria-label': `${Object(i.a)(e.emoji)} reaction`,
              'aria-pressed': n,
              'hasSelectedReaction': t,
              'isSelected': n,
            },
            a.a.createElement(o.a, { 'aria-hidden': 'true', 'emojiImageSize': 32, 'text': e.emoji })
          );
        }
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('div', { target: 'e34vqc0' })({
        name: 'bb7jsb',
        styles: 'position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;background:transparent;',
      });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(460),
        a = n.n(r),
        o = n(651);
      function i({ disabled: e, loading: t }) {
        return a.a.createElement(
          o.a,
          { 'focusable': 'false', 'aria-hidden': 'true', 'disabled': e, 'isLoading': t },
          a.a.createElement('path', {
            d: 'M1.5 13.864L7.864 7.5 1.5 1.136',
            strokeWidth: '2.5',
            fill: 'none',
            fillRule: 'evenodd',
          })
        );
      }
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(461),
        a = n(463),
        o = { name: 'gyp8mm', styles: 'visibility:hidden;' };
      const i = Object(r.c)('svg', { target: 'e1a9wl010' })(
        'position:absolute;height:15px;width:10px;top:12px;right:14px;stroke:',
        Object(r.f)('inputButtonSubmitIcon'),
        ';',
        ({ disabled: e, theme: t }) => e && Object(r.b)('stroke:', t.disabledInputText, ';'),
        ' ',
        ({ isLoading: e }) => e && o,
        ' ',
        a.i
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return s;
      });
      var r = n(461),
        a = n(584),
        o = n(585),
        i = n(653);
      const s = Object(r.c)('div', { target: 'ea4em4b0' })(
        'position:relative;input{width:100%;height:40px;padding:11px 40px 11px 16px;box-sizing:border-box;font-size:14px;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,0.07);border:1px solid ',
        Object(r.f)('inputBorder'),
        ';color:',
        Object(r.f)('inputText'),
        ';border-radius:4px;background:',
        Object(r.f)('inputBackground'),
        ';appearance:none;&::placeholder{color:',
        Object(r.f)('inputPlaceholder'),
        ';}&:focus{background:',
        Object(r.f)('white'),
        ';}&[disabled]{cursor:not-allowed;}}',
        ({ isFailed: e, theme: t }) =>
          e &&
          Object(r.b)(
            'input{background-color:',
            t.invalidInputBackground,
            ';color:',
            t.invalidInputText,
            ';border-color:',
            t.invalidInputBorder,
            ';&::placeholder{color:',
            t.inputPlaceholder,
            ';}}'
          ),
        ' ',
        ({ isSaved: e, theme: t }) =>
          e &&
          Object(r.b)(
            'input{border:1px solid ',
            t.inputBorder,
            ';color:',
            t.submittedInputText,
            ';-webkit-text-fill-color:',
            t.submittedInputText,
            ';-webkit-opacity:1;}',
            i.e.className,
            ',',
            o.a.className,
            '{visibility:hidden;}'
          ),
        ' ',
        ({ isSaving: e }) => e && Object(r.b)(a.a.className, '{visibility:hidden;}'),
        ' ',
        ({ theme: e, isNotificationChannel: t, isSaved: n }) =>
          t &&
          n &&
          Object(r.b)(
            'input{background:',
            e.white,
            ';color:',
            e.submittedInputText,
            ';border-color:',
            e.white,
            ';padding:0;height:20px;transition:color 400ms 600ms,border 300ms,padding 300ms 600ms,height 400ms 1000ms;box-shadow:none;}',
            i.e.className,
            ',',
            o.a.className,
            '{opacity:0;transition:opacity 300ms,visibility 0 300ms;}',
            a.a.className,
            '{visibility:hidden;}'
          ),
        ' ',
        ({ isReplyType: e, isBorderless: t }) =>
          e &&
          t &&
          Object(r.b)(
            'input{height:52px;border:none;padding-left:20px;}',
            i.e.className,
            ',',
            o.a.className,
            '{top:6px;right:6px;bottom:6px;margin:0;border-radius:3px;}'
          )
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'd', function () {
        return d;
      }),
        n.d(t, 'e', function () {
          return m;
        }),
        n.d(t, 'b', function () {
          return b;
        }),
        n.d(t, 'c', function () {
          return g;
        }),
        n.d(t, 'f', function () {
          return f;
        }),
        n.d(t, 'a', function () {
          return v;
        });
      var r = n(461),
        a = n(463),
        o = n(654),
        i = n.n(o),
        s = n(655),
        l = n.n(s),
        c = n(656);
      const d = Object(r.c)('div', { target: 'e1mej3xt0' })(
          'position:relative;background:',
          Object(r.f)('inputBackground'),
          ';&,input{width:100%;height:40px;font-size:14px;line-height:40px;box-sizing:border-box;}input{position:absolute;padding:11px 35px;box-sizing:border-box;border:1px solid ',
          Object(r.f)('inputBorder'),
          ';border-radius:4px;&[disabled]{cursor:not-allowed;}&::placeholder{color:',
          Object(r.f)('inputPlaceholder'),
          ';}}',
          ({ saveState: e, theme: t }) =>
            ('saved' === e || 'saving' === e) &&
            Object(r.b)('input{border:1px solid ', t.inputBorder, ';}'),
          ' ',
          ({ isInvalid: e, theme: t }) =>
            e &&
            Object(r.b)(
              'background-color:',
              t.invalidInputBackground,
              ';color:',
              t.invalidInputText,
              ';border-color:',
              t.invalidInputBorder,
              ';'
            )
        ),
        p = {
          name: '15409pb',
          styles:
            'position:absolute;top:0;right:0;bottom:0;width:40px;border-top-right-radius:3px;border-bottom-right-radius:3px;background-position:center;',
        };
      var u = { name: 'gyp8mm', styles: 'visibility:hidden;' };
      const m = Object(r.c)('button', { target: 'e1mej3xt1' })(
        'cursor:pointer;&[disabled]{cursor:not-allowed;}background-color:',
        Object(r.f)('appColor'),
        ';box-shadow:0 1px 2px 0 rgba(0,0,0,0.15);',
        p,
        ' @media (-ms-high-contrast:active){border:1px solid white;}',
        ({ saveState: e }) => ('saved' === e || 'saving' === e) && u
      );
      var h = { name: 'gyp8mm', styles: 'visibility:hidden;' };
      const b = Object(r.c)('div', { target: 'e1mej3xt2' })(
          'width:100%;height:40px;font-size:14px;line-height:40px;box-sizing:border-box;position:absolute;padding:0 35px;color:',
          Object(r.f)('inputPlaceholder'),
          ';cursor:text;',
          ({ saveState: e }) => ('saved' === e || 'saving' === e) && h
        ),
        g = Object(r.c)('span', { target: 'e1mej3xt3' })({
          name: 'gyp8mm',
          styles: 'visibility:hidden;',
        }),
        f = Object(r.c)('span', { target: 'e1mej3xt4' })(
          p,
          ' ',
          Object(a.b)(i.a, l.a, '14px', '12px')
        ),
        v = Object(r.c)(c.a, { target: 'e1mej3xt5' })({
          name: '10dhw94',
          styles: 'position:absolute;left:13px;top:12px;',
        });
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/green-check-icon.9828d61b.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/green-check-icon@2x.65fa2c1a.png';
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return d;
      });
      var r = n(461),
        a = n(463),
        o = n(829),
        i = n.n(o),
        s = n(830),
        l = n.n(s);
      const c = [
          'ad',
          'ae',
          'af',
          'ag',
          'ai',
          'al',
          'am',
          'an',
          'ao',
          'ar',
          'as',
          'at',
          'au',
          'aw',
          'az',
          'ba',
          'bb',
          'bd',
          'be',
          'bf',
          'bg',
          'bh',
          'bi',
          'bj',
          'bm',
          'bn',
          'bo',
          'br',
          'bs',
          'bt',
          'bw',
          'by',
          'bz',
          'ca',
          'cd',
          'cf',
          'cg',
          'ch',
          'ci',
          'ck',
          'cl',
          'cm',
          'cn',
          'co',
          'cr',
          'cu',
          'cv',
          'cy',
          'cz',
          'de',
          'dj',
          'dk',
          'dm',
          'do',
          'dz',
          'ec',
          'ee',
          'eg',
          'eh',
          'er',
          'es',
          'et',
          'fi',
          'fj',
          'fm',
          'fo',
          'fr',
          'ga',
          'gb',
          'gd',
          'ge',
          'gg',
          'gh',
          'gi',
          'gl',
          'gm',
          'gn',
          'gp',
          'gq',
          'gr',
          'gt',
          'gu',
          'gw',
          'gy',
          'hk',
          'hn',
          'hr',
          'ht',
          'hu',
          'id',
          'ie',
          'il',
          'im',
          'in',
          'iq',
          'ir',
          'is',
          'it',
          'je',
          'jm',
          'jo',
          'jp',
          'ke',
          'kg',
          'kh',
          'ki',
          'km',
          'kn',
          'kp',
          'kr',
          'kw',
          'ky',
          'kz',
          'la',
          'lb',
          'lc',
          'li',
          'lk',
          'lr',
          'ls',
          'lt',
          'lu',
          'lv',
          'ly',
          'ma',
          'mc',
          'md',
          'me',
          'mg',
          'mh',
          'mk',
          'ml',
          'mm',
          'mn',
          'mo',
          'mq',
          'mr',
          'ms',
          'mt',
          'mu',
          'mv',
          'mw',
          'mx',
          'my',
          'mz',
          'na',
          'nc',
          'ne',
          'ng',
          'ni',
          'nl',
          'no',
          'np',
          'nr',
          'nz',
          'om',
          'pa',
          'pe',
          'pf',
          'pg',
          'ph',
          'pk',
          'pl',
          'pr',
          'ps',
          'pt',
          'pw',
          'py',
          'qa',
          're',
          'ro',
          'rs',
          'ru',
          'rw',
          'sa',
          'sb',
          'sc',
          'sd',
          'se',
          'sg',
          'si',
          'sk',
          'sl',
          'sm',
          'sn',
          'so',
          'sr',
          'st',
          'sv',
          'sy',
          'sz',
          'tc',
          'td',
          'tg',
          'th',
          'tj',
          'tl',
          'tm',
          'tn',
          'to',
          'tr',
          'tt',
          'tv',
          'tw',
          'tz',
          'ua',
          'ug',
          'us',
          'uy',
          'uz',
          'va',
          'vc',
          've',
          'vg',
          'vi',
          'vn',
          'vu',
          'ws',
          'ye',
          'za',
          'zm',
          'zw',
        ],
        d = Object(r.c)('div', { target: 'e1ejig9o0' })(
          'width:16px;height:16px;background-repeat:no-repeat;background-position:0 0;',
          Object(a.b)(i.a, l.a, '240px', '240px'),
          ' ',
          ({ countryCode: e }) => {
            const t = c.indexOf(e) + 1,
              n = (t % 15) * -16,
              a = -16 * Math.floor(t / 15);
            return Object(r.b)('background-position:', n, 'px ', a, 'px;');
          }
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return Post;
      });
      var r = n(460),
        a = n.n(r),
        o = n(538),
        i = n(497),
        s = n(498),
        l = n(471),
        c = n(519),
        d = n(39),
        p = n(602),
        u = n(2),
        m = n(508),
        h = n(470),
        b = n(509),
        g = n(529);
      function f() {
        return (f =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function v(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class Post extends r.Component {
        constructor(...e) {
          super(...e),
            v(this, 'state', { isScrolled: !1 }),
            v(this, 'handleScroll', (e) => {
              this.setState({ isScrolled: e.target.scrollTop > 0 }), Object(g.a)(e);
            }),
            v(this, 'addClickedComposerMetric', () => {
              const {
                message: { id: e },
                conversationId: t,
              } = this.props;
              Object(u.e)('clicked', 'composer', 'in_app', 'from_full', {
                message_type: 'post',
                message_id: e,
                conversation_id: t,
              });
            }),
            v(this, 'handleComposerClick', (e) => () => {
              this.addClickedComposerMetric(),
                this.props.onComposerClick(),
                e(void 0, { shouldReturnFocus: !1 }),
                this.context &&
                  this.context.focusComposer &&
                  setTimeout(() => this.context.focusComposer(), o.a);
            });
        }
        renderFooter(e) {
          const {
            composerVisible: t,
            showReplyToButton: n,
            isUpfrontEmailComposerShowing: r,
          } = this.props;
          return t
            ? n || r
              ? a.a.createElement(p.a, { onClick: this.handleComposerClick(e) })
              : a.a.createElement(
                  h.b,
                  {
                    'className': 'intercom-post-composer',
                    'onClick': this.handleComposerClick(e),
                    'aria-label': Object(d.e)('open_conversation_and_reply'),
                  },
                  a.a.createElement(b.f, null, Object(d.e)('reply_to_conversation'))
                )
            : null;
        }
        renderReactionPicker() {
          const { reactionsReply: e, onReactionSelect: t } = this.props;
          return a.a.createElement(c.a, f({}, e, { onReactionSelect: t }));
        }
        render() {
          const { isScrolled: e } = this.state,
            {
              appName: t,
              message: n,
              reactionsReply: r,
              onClose: c,
              frameWindow: p,
              returnFocus: u,
              showReplyToButton: m,
              isUpfrontEmailComposerShowing: b,
            } = this.props,
            { author: g, lastActiveAt: f, body: v } = n;
          return a.a.createElement(
            o.b,
            { closeCallback: c, showCloseOverlay: !1, frameWindow: p, returnFocus: u },
            ({ onClose: n }) =>
              a.a.createElement(
                h.e,
                { isScrolled: e },
                a.a.createElement(
                  h.d,
                  { className: 'intercom-post' },
                  a.a.createElement(
                    s.a,
                    { appName: t, isReplyStyle: !1, author: g, lastActiveAt: f },
                    a.a.createElement(h.a, {
                      'className': 'intercom-post-close',
                      'onClick': n,
                      'aria-label': Object(d.e)('close'),
                    }),
                    a.a.createElement(
                      i.a,
                      { isInsideModal: !0, onScroll: this.handleScroll },
                      a.a.createElement(l.a, { blocks: v, frameWindow: p })
                    ),
                    a.a.createElement(
                      h.c,
                      { isCentered: m || b },
                      r ? this.renderReactionPicker() : this.renderFooter(n)
                    )
                  )
                )
              )
          );
        }
      }
      v(Post, 'contextType', m.a);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return l;
      });
      var r = n(461),
        a = n(659),
        o = n(469),
        i = n(470),
        s = n(473);
      const l = Object(r.c)(a.a, { target: 'etob2ar0' })(
        s.a,
        ' ',
        o.c.className,
        ' &,',
        i.d.className,
        ' &{margin:0 ',
        Object(r.f)('postMarginPercent'),
        '% 15px;padding-bottom:1em;}'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return VideoPlayerAutosized;
      });
      var r = n(460),
        a = n.n(r),
        o = n(686),
        i = n(467),
        s = n(551);
      function l(e, t) {
        if (null == e) return {};
        var n,
          r,
          a = (function (e, t) {
            if (null == e) return {};
            var n,
              r,
              a = {},
              o = Object.keys(e);
            for (r = 0; r < o.length; r++) (n = o[r]), t.indexOf(n) >= 0 || (a[n] = e[n]);
            return a;
          })(e, t);
        if (Object.getOwnPropertySymbols) {
          var o = Object.getOwnPropertySymbols(e);
          for (r = 0; r < o.length; r++)
            (n = o[r]),
              t.indexOf(n) >= 0 ||
                (Object.prototype.propertyIsEnumerable.call(e, n) && (a[n] = e[n]));
        }
        return a;
      }
      function c(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class VideoPlayerAutosized extends r.Component {
        constructor(...e) {
          super(...e),
            c(this, 'state', { width: 0 }),
            c(this, 'handleMeasure', ({ width: e }) => {
              this.setState({ width: e });
            });
        }
        getStyle() {
          const { width: e } = this.state;
          if (0 !== e) return { width: e, height: Math.ceil((e / 4) * 3) };
        }
        render() {
          const e = this.props,
            { className: t, isVideoFileBlock: n } = e,
            r = l(e, ['className', 'isVideoFileBlock']);
          return a.a.createElement(
            i.b,
            { onChange: this.handleMeasure },
            a.a.createElement(
              s.a,
              { isVideoFileBlock: n, className: t, style: this.getStyle() },
              a.a.createElement(o.a, r)
            )
          );
        }
      }
      c(VideoPlayerAutosized, 'defaultProps', o.b);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(461);
      const a = {
          name: 'ye0csb',
          styles: 'background:rgba(255,255,255,0.4);height:4px;border-radius:10px;',
        },
        o = {
          name: 'rulasc',
          styles:
            'border:none;height:12px;width:12px;border-radius:50%;background:white;margin-top:-4px;cursor:pointer;',
        },
        i = Object(r.c)('input', { target: 'eb2xpk20' })(
          'appearance:none;background:transparent;margin:0 8px;&::-moz-range-track{',
          a,
          ';}&::-ms-track{',
          a,
          ';}&::-webkit-slider-runnable-track{appearance:none;',
          a,
          ';}&::-webkit-slider-thumb{appearance:none;',
          o,
          '}&::-moz-range-thumb{',
          o,
          '}&::-ms-thumb{',
          o,
          '}'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(461);
      const a = Object(r.c)('svg', { target: 'eqinbhk0' })();
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'f', function () {
        return c;
      }),
        n.d(t, 'e', function () {
          return d;
        }),
        n.d(t, 'd', function () {
          return u;
        }),
        n.d(t, 'b', function () {
          return m;
        }),
        n.d(t, 'c', function () {
          return h;
        }),
        n.d(t, 'a', function () {
          return b;
        });
      var r = n(461),
        a = n(491),
        o = n(530),
        i = n(463);
      const s = Object(r.d)('0%{opacity:0;}50%{opacity:0;}100%{opacity:1;}');
      var l = { name: 'suayju', styles: 'margin:0 auto;width:100%;' };
      const c = Object(r.c)('div', { target: 'epk4fbi0' })(
          'max-height:',
          Object(r.f)('notificationHeightPx'),
          'px;width:',
          340,
          'px;&,*{cursor:pointer;}',
          a.b.className,
          '{border-radius:',
          Object(r.f)('notificationBorderRadiusPx'),
          'px;padding:20px 20px 20px;box-shadow:',
          Object(r.f)('notificationBoxShadow'),
          ';}',
          a.c.className,
          '{padding:0;}',
          ({ theme: e }) => e.isMobileSize && l
        ),
        d = Object(r.c)('div', { target: 'epk4fbi1' })(
          'margin:5px ',
          Object(r.f)('chatMarginPx'),
          'px 0 ',
          Object(r.f)('chatMarginPx'),
          'px;font-size:14px;overflow:hidden;line-height:22px;max-height:44px;color:',
          Object(r.f)('bodyText'),
          ';animation:',
          s,
          ' 500ms ease;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;'
        );
      var p = { name: '8atqhb', styles: 'width:100%;' };
      const u = Object(r.c)('div', { target: 'epk4fbi2' })(
          'height:100%;width:',
          340,
          'px;position:relative;*{cursor:pointer;}',
          o.e.className,
          '{width:100%;}',
          ({ theme: e }) => e.isMobileSize && p
        ),
        m = Object(r.c)(d, { target: 'epk4fbi3' })({ name: '1hw29i9', styles: 'margin-top:12px;' }),
        h = Object(r.c)('div', { target: 'epk4fbi4' })(
          '/* @noflip */ margin-left:45px;padding:17px 22px;box-sizing:border-box;background-color:',
          Object(r.f)('white'),
          ';border-radius:',
          Object(r.f)('notificationBorderRadiusPx'),
          'px;border-bottom-left-radius:0;box-shadow:',
          Object(r.f)('notificationBoxShadow'),
          ';font-size:13px;line-height:1.5;height:100%;position:relative;&:after{',
          i.g,
          '}'
        ),
        b = Object(r.c)('div', { target: 'epk4fbi5' })(
          'position:absolute;bottom:0;/* @noflip */ left:3px;box-shadow:',
          Object(r.f)('notificationBoxShadow'),
          ';border-radius:50%;'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return m;
      });
      var r = n(461),
        a = n(476),
        o = n(507),
        i = n(553),
        s = n(532),
        l = n(489),
        c = {
          name: 'vdm84c',
          styles: 'float:none;/* @noflip */ padding-left:0;width:100%;margin-top:8px;',
        },
        d = { name: '1u0x8ae', styles: 'width:calc(100% - 100px);' },
        p = { name: 'vtn2l4', styles: 'padding-bottom:20px;' },
        u = {
          name: '17fazuw',
          styles:
            '/* @noflip */ float:left;/* @noflip */ padding-left:45px;width:calc(100% - 48px);',
        };
      const m = Object(r.c)('div', { target: 'elc4fgv0' })(
        'position:relative;/* @noflip */ text-align:left;',
        ({ isUser: e }) =>
          e &&
          Object(r.b)(
            '/* @noflip */ float:right;/* @noflip */ padding-left:48px;width:calc(100% - 48px);',
            l.a.className,
            '{/* @noflip */ float:right;}'
          ),
        ' ',
        ({ isUser: e, isSingleBlock: t }) =>
          e && t && Object(r.b)(o.a.className, '{/* @noflip */ float:right;}'),
        ' ',
        ({ isAdmin: e }) => e && u,
        ' ',
        ({ isUser: e, isAdmin: t }) =>
          !e &&
          !t &&
          Object(r.b)(
            '/* @noflip */ float:left;/* @noflip */ padding-left:48px;',
            l.a.className,
            '{/* @noflip */ float:left;}'
          ),
        ' ',
        ({ theme: e, hasAvatar: t, isBorderless: n }) =>
          e.isLeftAlign &&
          t &&
          n &&
          !e.isMobileSize &&
          Object(r.b)(
            '/* @noflip */ margin-left:55px;',
            i.a.className,
            ',',
            a.b.className,
            '{/* @noflip */ left:-10px;}'
          ),
        ' ',
        ({ isAdmin: e, isBorderless: t }) =>
          e &&
          t &&
          Object(r.b)('/* @noflip */ float:right;', s.b.className, '{padding:0px;margin-top:6px;}'),
        ' ',
        ({ isUser: e, isBorderless: t, theme: n }) =>
          e &&
          t &&
          Object(r.b)(
            s.b.className,
            '{float:none;color:',
            n.isPrimaryColorLight ? n.grey : n.white,
            ';opacity:0.5;width:auto;}',
            s.c.className,
            '{float:none;}'
          ),
        ' ',
        ({ theme: e }) => e.tabNavigation && p,
        ' ',
        ({ theme: e, isBorderless: t }) => e.isLeftAlign && t && d,
        ' ',
        ({ theme: e, isAdmin: t, isBorderless: n }) => t && n && e.isMobileBrowser && c
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return d;
      }),
        n.d(t, 'b', function () {
          return p;
        }),
        n.d(t, 'l', function () {
          return u;
        }),
        n.d(t, 'm', function () {
          return m;
        }),
        n.d(t, 'e', function () {
          return h;
        }),
        n.d(t, 'g', function () {
          return b;
        }),
        n.d(t, 'f', function () {
          return g;
        }),
        n.d(t, 'c', function () {
          return x;
        }),
        n.d(t, 'h', function () {
          return y;
        }),
        n.d(t, 'k', function () {
          return j;
        }),
        n.d(t, 'j', function () {
          return O;
        }),
        n.d(t, 'd', function () {
          return C;
        }),
        n.d(t, 'i', function () {
          return w;
        });
      var r = n(461),
        a = n(473),
        o = n(479),
        i = n(476),
        s = n(463),
        l = { name: 'ssq3ao', styles: 'margin-left:45px;position:relative;' },
        c = { name: '1kgjpo2', styles: 'padding-left:45px;position:relative;' };
      const d = Object(r.c)('div', { target: 'e1692fz40' })(
          ({ isInline: e, isBorderless: t }) => !e && !t && c,
          ' ',
          ({ isBorderless: e }) => e && l,
          ' ',
          ({ isInline: e }) =>
            e &&
            Object(r.b)(
              a.a,
              ' ',
              o.a.className,
              ' &,',
              i.e.className,
              ' &,.intercom-comment &{box-shadow:0 1px 2px 0 rgba(0,0,0,0.03);margin-bottom:10px;}'
            ),
          ' ',
          ({ isMessage: e }) =>
            e &&
            Object(r.b)(
              'width:100%;padding-left:0;',
              w.className,
              '{padding:21px 30px;}',
              u.className,
              '{margin-bottom:8px;font-size:20px;}',
              O.className,
              '{font-size:14px;line-height:20px;}',
              h.className,
              '{height:26px;font-size:13px;}',
              g.className,
              '{margin-right:8px;}',
              y.className,
              '{width:calc(100% - 32px);padding-top:3px;}'
            ),
          ' ',
          ({ theme: e, isBorderless: t, isInline: n }) =>
            ((!t && !n) || t || n) &&
            Object(r.b)(
              p.className,
              '{display:block;position:relative;overflow:hidden;background-color:',
              e.white,
              ';transition:all 0.12s ease-out;text-decoration:none !important;&:first-of-type{',
              Object(s.c)({ theme: e }),
              ' border-radius:3px 3px 0 0;}&:last-child{border-radius:3px;}}',
              w.className,
              '{padding:20px;}',
              u.className,
              '{color:',
              e.isPrimaryColorLight ? e.black : e.appColor,
              ";font-size:14px;line-height:1.2;overflow:wrap;&[type='educate.help_center']{text-align:center;font-size:13px;}}",
              O.className,
              '{color:',
              e.bodyText,
              ';font-size:13px;line-height:1.38;',
              s.l,
              '}',
              h.className,
              '{margin-top:11px;}',
              g.className,
              '{display:inline-block;margin-right:8px;}',
              y.className,
              '{width:calc(100% - 32px);display:inline-block;vertical-align:middle;color:',
              e.subheaderText,
              ';line-height:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;span{white-space:nowrap;}}'
            )
        ),
        p = Object(r.c)('a', { target: 'e1692fz41' })(
          ({ theme: e, isGrouped: t }) =>
            t &&
            Object(r.b)(
              'border-bottom:1px solid ',
              e.lightGrey8,
              ';&:last-child{border-bottom:none;}&:hover{background-color:',
              e.itemHover,
              ';transform:none;}',
              h.className,
              '{margin-top:5px;}',
              w.className,
              '{padding:15px 20px;}'
            )
        ),
        u = Object(r.c)('div', { target: 'e1692fz42' })(),
        m = Object(r.c)('span', { target: 'e1692fz43' })(),
        h = Object(r.c)('div', { target: 'e1692fz44' })(),
        b = Object(r.c)('span', { target: 'e1692fz45' })(),
        g = Object(r.c)('div', { target: 'e1692fz46' })();
      var f = { name: '1qgk0pb', styles: 'position:absolute;left:0;bottom:10px;' },
        v = { name: '1isz0w5', styles: 'bottom:0px;' };
      const x = Object(r.c)('div', { target: 'e1692fz47' })(
          ({ isBorderless: e }) => e && v,
          ' ',
          ({ isBorderless: e }) => !e && f
        ),
        y = Object(r.c)('div', { target: 'e1692fz48' })({
          name: '128nlh6',
          styles: 'font-size:13px;',
        }),
        j = Object(r.c)('div', { target: 'e1692fz49' })(
          'background-color:',
          Object(r.f)('white'),
          ';border-radius:5px;color:',
          Object(r.f)('bodyText'),
          ';',
          s.d
        ),
        O = Object(r.c)('div', { target: 'e1692fz410' })(),
        C = Object(r.c)('div', { target: 'e1692fz411' })(
          'text-align:center;color:',
          Object(r.f)('metaText'),
          ';font-size:13px;clear:both;padding-top:0;padding-bottom:14px;'
        ),
        w = Object(r.c)('div', { target: 'e1692fz412' })({
          name: '1kuvg3o',
          styles: '@media (-ms-high-contrast:active){border:1px solid white;}',
        });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'd', function () {
        return o;
      }),
        n.d(t, 'f', function () {
          return i;
        }),
        n.d(t, 'a', function () {
          return s;
        }),
        n.d(t, 'e', function () {
          return l;
        }),
        n.d(t, 'g', function () {
          return c;
        }),
        n.d(t, 'c', function () {
          return d;
        }),
        n.d(t, 'i', function () {
          return p;
        }),
        n.d(t, 'h', function () {
          return u;
        }),
        n.d(t, 'b', function () {
          return m;
        });
      var r = n(461),
        a = n(463);
      const o = Object(r.c)('div', { target: 'e17iaxbc0' })(
          'margin:30px 0 30px 0;position:relative;text-align:left;background-color:',
          Object(r.f)('white'),
          ';border-radius:5px;color:',
          Object(r.f)('bodyText'),
          ';transition:height 200ms ease-in-out;height:',
          Object(r.e)('height'),
          'px;',
          a.c
        ),
        i = Object(r.c)('div', { target: 'e17iaxbc1' })({
          name: '19kzrtu',
          styles: 'padding:24px;',
        }),
        s = Object(r.c)('div', { target: 'e17iaxbc2' })({
          name: 'z0kmtn',
          styles:
            'font-size:14px;color:#3a3c4c;line-height:22px;text-align:center;margin-bottom:3px;',
        }),
        l = Object(r.c)('div', { target: 'e17iaxbc3' })(
          'font-size:13px;line-height:19px;color:',
          Object(r.f)('subheaderText'),
          ';text-align:center;'
        ),
        c = Object(r.c)('div', { target: 'e17iaxbc4' })(
          'border-top:1px solid ',
          Object(r.f)('dividerBorder'),
          ';color:',
          Object(r.f)('subheaderText'),
          ';font-size:14px;line-height:19px;max-height:140px;overflow-y:auto;padding:16px 24px;'
        ),
        d = Object(r.c)('div', { target: 'e17iaxbc5' })({
          name: '1299peo',
          styles: 'padding:20px 20px 0;',
        }),
        p = Object(r.c)('div', { target: 'e17iaxbc6' })({
          name: 'gs1lf3',
          styles: 'position:relative;margin-bottom:5px;',
        }),
        u = Object(r.c)('div', { target: 'e17iaxbc7' })(
          'font-size:14px;line-height:24px;color:',
          Object(r.f)('bodyText'),
          ';transition:opacity 300ms 1000ms,max-height 400ms 1000ms;position:static;max-height:48px;text-align:center;'
        ),
        m = Object(r.c)('div', { target: 'e17iaxbc8' })({
          name: '1jwu2i2',
          styles: 'margin:8px 10px 6px;display:flex;justify-content:space-between;',
        });
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return o;
      }),
        n.d(t, 'a', function () {
          return s;
        });
      var r = n(461),
        a = n(665);
      const o = Object(r.c)('div', { target: 'e1d0rm7l0' })(
        'width:100%;position:relative;float:left;',
        a.d.className,
        '{margin-top:8px;margin-bottom:8px;margin-left:45px;}',
        ({ isBorderless: e }) => e && Object(r.b)(a.d.className, '{margin-left:45px;}')
      );
      var i = { name: '1qgk0pb', styles: 'position:absolute;left:0;bottom:10px;' };
      const s = Object(r.c)('div', { target: 'e1d0rm7l1' })(({ isBorderless: e }) => !e && i);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return d;
      }),
        n.d(t, 'b', function () {
          return p;
        }),
        n.d(t, 'g', function () {
          return u;
        }),
        n.d(t, 'd', function () {
          return m;
        }),
        n.d(t, 'e', function () {
          return b;
        }),
        n.d(t, 'f', function () {
          return x;
        }),
        n.d(t, 'c', function () {
          return y;
        });
      var r = n(461),
        a = n(468),
        o = n(463);
      const i = Object(r.d)(
          '0%{opacity:0;transform:translateY(20px);}100%{opacity:1;transform:translateY(0);position:initial;}'
        ),
        s = Object(r.d)(
          '0%{opacity:0;transform:translateY(-20px);}100%{opacity:1;transform:translateY(0);}'
        ),
        l = Object(r.d)(
          '0%{opacity:0;transform:translateX(-20px);}100%{opacity:1;transform:translateY(0);}'
        ),
        c = Object(r.d)(
          '0%{opacity:0;transform:translateX(20px);}100%{opacity:1;transform:translateY(0);}'
        ),
        d = Object(r.c)(a.a, { target: 'e1rbdy0f0' })({
          name: '1cs7hh',
          styles: 'height:38px;width:38px;pointer-events:none;',
        }),
        p = Object(r.c)('div', { target: 'e1rbdy0f1' })({
          name: 'c8ift8',
          styles:
            "position:absolute;pointer-events:none;[x-placement^='top'] &{bottom:-9px;transform:translateY(20px);}[x-placement^='right'] &{transform:translateX(-20px);}[x-placement^='bottom'] &{transform:translateY(-20px);}[x-placement^='left'] &{right:-9px;transform:translateX(20px);}",
        }),
        u = Object(r.c)('div', { target: 'e1rbdy0f2' })(
          'transition:opacity 0.6s ease;z-index:',
          Object(o.m)(1),
          ';visibility:visible !important;'
        ),
        m = Object(r.c)('div', { target: 'e1rbdy0f3' })(
          'animation:',
          i,
          " 800ms ease;[x-placement^='top'] &{animation:",
          s,
          " 800ms ease;}[x-placement^='right'] &{animation:",
          c,
          " 800ms ease;}[x-placement^='bottom'] &{animation:",
          i,
          " 800ms ease;}[x-placement^='left'] &{animation:",
          l,
          ' 800ms ease;}'
        );
      var h = { name: '11j8jdr', styles: 'box-shadow:-1px 1px 0px #eeeeee;margin-left:25px;' };
      const b = Object(r.c)('div', { target: 'e1rbdy0f4' })(
          "width:13px;height:25px;position:relative;overflow:hidden;&:after{content:'';position:absolute;width:20px;height:20px;background:#ffffff;transform:rotate(45deg);top:2px;}&[x-placement^='top']{height:13px;width:25px;&:after{top:-12px;left:2px;box-shadow:1px 1px 1px 0 ",
          'rgba(0, 0, 0, 0.08)',
          ";}}&[x-placement^='right']{height:25px;width:13px;&:after{right:-12.5px;box-shadow:1px -1px 1px 2px ",
          'rgba(0, 0, 0, 0.08)',
          ";}}&[x-placement^='bottom']{height:13px;width:25px;&:after{top:4.5px;left:2px;box-shadow:-1px -1px 1px 0 ",
          'rgba(0, 0, 0, 0.08)',
          ";}}&[x-placement^='left']{height:25px;width:13px;&:after{left:-12.5px;box-shadow:-1px 1px 1px 2px ",
          'rgba(0, 0, 0, 0.08)',
          ';}}',
          ({ isInsideInbox: e }) => e && h
        ),
        g = { name: '41q668', styles: 'transform:scale(1);' },
        f = (e, t) =>
          Object(r.d)(
            '0%{',
            g,
            '}85%{',
            ((e, t) =>
              Object(r.b)(
                'transform:scaleX(calc(1 + (4 / ',
                e,
                '))) scaleY(calc(1 + (4 / ',
                t,
                ')));'
              ))(e, t),
            '}100%{',
            g,
            '}'
          );
      var v = {
        name: '1qu4hyo',
        styles:
          'display:block;position:fixed;top:50%;left:50%;box-shadow:0px 0px 0px 4000px rgba(0,0,0,0.35);',
      };
      const x = Object(r.c)('div', { target: 'e1rbdy0f5' })(
          'z-index:',
          Object(o.m)(),
          ";content:'';display:none;position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;border-radius:1px;",
          ({ isAnimating: e, width: t, height: n }) =>
            e && Object(r.b)('animation:', f(t, n), ' 2s infinite;'),
          ' ',
          ({ isPost: e }) => e && v,
          ' ',
          ({ isStep: e, theme: t, buttonColor: n }) =>
            e &&
            Object(r.b)(
              'display:block;box-shadow:0 0 0 3px ',
              n || t.appColor,
              ',0px 0px 0px 4000px rgba(0,0,0,0.35);'
            )
        ),
        y = Object(r.c)('div', { target: 'e1rbdy0f6' })(
          ({ scrollable: e, theme: t }) =>
            e &&
            Object(r.b)(
              'position:fixed;height:100%;width:100%;top:0;left:0;opacity:0;box-sizing:border-box;z-index:',
              Object(o.m)(0, t),
              ';'
            )
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return m;
      }),
        n.d(t, 'a', function () {
          return f;
        });
      var r = n(461),
        a = n(463),
        o = n(476),
        i = n(532),
        s = n(853),
        l = n.n(s),
        c = n(854),
        d = n.n(c),
        p = n(489),
        u = n(663);
      const m = '200ms';
      var h = { name: 'y8aj3r', styles: 'padding:0;' },
        b = { name: '4cxybv', styles: 'padding-bottom:8px;' },
        g = {
          name: 'lb05wl',
          styles: '&.intercom-conversation-part-enter{transform:translateY(0);}',
        };
      const f = Object(r.c)('div', { target: 'e1iwlnx70' })(
        a.h,
        ' padding-bottom:16px;',
        ({ isAdmin: e }) =>
          e &&
          Object(r.b)(
            '&.intercom-conversation-part-enter{opacity:0;}&.intercom-conversation-part-enter.intercom-conversation-part-enter-active{opacity:1;transition:opacity ',
            m,
            ';}',
            i.b.className,
            '{/* @noflip */ padding-left:45px;}'
          ),
        ' ',
        ({ isSelf: e, conversationHasScrolled: t }) =>
          e &&
          Object(r.b)(
            '&.intercom-conversation-part-enter{opacity:0;transform:translateY(40px);}&.intercom-conversation-part-enter.intercom-conversation-part-enter-active{opacity:1;transform:translateY(0);transition:opacity ',
            m,
            ',transform ',
            m,
            ';}',
            t && g,
            ' ',
            i.b.className,
            '{/* @noflip */ float:right;}',
            i.c.className,
            '{/* @noflip */ float:right;}'
          ),
        ' ',
        ({ isAdmin: e, isSelf: t }) =>
          !e && !t && Object(r.b)(i.b.className, '{/* @noflip */ padding-left:45px;}'),
        ' ',
        ({ grouped: e }) => e && b,
        ' ',
        ({ isLastPart: e, isBorderless: t }) => e && Object(r.b)('padding-bottom:24px;', t && h),
        ' ',
        ({ theme: e, isFailedPart: t }) =>
          t &&
          Object(r.b)(
            '*{cursor:pointer;}',
            i.b.className,
            '{',
            Object(a.b)(l.a, d.a, '11px', '11px'),
            ' /* @noflip */ padding-left:15px;background-position:left 7px;background-repeat:no-repeat;color:',
            e.errorText,
            ';width:auto;}'
          ),
        ' ',
        ({ isAdmin: e, isBorderless: t }) =>
          e && t && Object(r.b)(o.e.className, ' ', i.b.className, '{padding:5px 20px;}'),
        ' ',
        o.e.className,
        ' + ',
        u.a.className,
        '{',
        p.a.className,
        '{padding-bottom:8px;}}'
      );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'j', function () {
        return l;
      }),
        n.d(t, 'i', function () {
          return c;
        }),
        n.d(t, 'b', function () {
          return d;
        }),
        n.d(t, 'a', function () {
          return p;
        }),
        n.d(t, 'h', function () {
          return m;
        }),
        n.d(t, 'e', function () {
          return b;
        }),
        n.d(t, 'f', function () {
          return g;
        }),
        n.d(t, 'g', function () {
          return f;
        }),
        n.d(t, 'c', function () {
          return v;
        }),
        n.d(t, 'd', function () {
          return x;
        });
      var r = n(501),
        a = n(104),
        o = n(39),
        i = n(18);
      const s = [
          'january',
          'february',
          'march',
          'april',
          'may',
          'june',
          'july',
          'august',
          'september',
          'october',
          'november',
          'december',
        ],
        l = (e) =>
          'link' === e[0].messageType
            ? !e.slice(1).every((t) => Object(r.c)(t.createdAt, e[0].sentAt))
            : !1 !== e[0].showCreatedAt &&
              !e.every((t) => Object(r.c)(t.createdAt, e[0].createdAt)),
        c = (e, t) => e && !Object(r.c)(t.createdAt, e.sentAt || e.createdAt),
        d = (e) => Object(o.e)(`${s[e.getMonth()]}_date`, { date: e.getDate() }),
        p = (e, t) =>
          t.find(
            (t) => t.author.isAdmin && t.author.id === e.id && t.createdAt >= e.lastActiveAt - 5e3
          ),
        u = (e, t) => {
          return !p(e, t) && ((n = e.lastActiveAt), new Date() - n < 1e4);
          var n;
        },
        m = (e) => {
          const { parts: t, lastTypingAdmin: n, currentChannel: r } = e;
          return !!n && u(n, t) && 'messenger' === r;
        },
        h = (e, t) =>
          (e.id === t.id && e.isAdmin === t.isAdmin) ||
          (!0 === e.isSelf && !0 === t.isSelf) ||
          (!0 === e.isBot && !0 === t.isBot),
        b = (e, t) => {
          return (
            !!t &&
            ((n = e.partType), (o = t.partType), !Object(a.a)(n) && !Object(a.a)(o)) &&
            Object(r.c)(e.createdAt, t.createdAt) &&
            h(e.author, t.author) &&
            ((e, t) => t - e <= 18e4)(e.createdAt, t.createdAt)
          );
          var n, o;
        },
        g = (e, t, n, r, a) => {
          if (((e) => e.author.isSelf)(e) || 'video' === e.messageType) return !1;
          if (!n) return !b(e, t);
          return !!t ? !h(e.author, t.author) : !(r && e.author.id === a.id);
        },
        f = (e, t, n) => {
          const { isAdmin: r } = e.author,
            a = t.length > 0 && Object(i.a)(t).id === e.id,
            o =
              'comment' === e.partType ||
              'message' === e.partType ||
              'attribute_collector' === e.partType ||
              'bot_intro' === e.partType,
            s = 'failed' === e.saveState || 'saving' === e.saveState;
          return (a || s) && !(r && n) && o;
        },
        v = (e) => e.clientId || e.id,
        x = (e) => 'quick_reply' === e.partType && (!e.body || 0 === e.body.length);
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'b', function () {
        return o;
      }),
        n.d(t, 'a', function () {
          return l;
        }),
        n.d(t, 'c', function () {
          return c;
        });
      var r = n(461),
        a = n(668);
      const o = Object(r.c)('div', { target: 'e1h2hbch0' })({
        name: 'dj4xvs',
        styles:
          'display:flex;flex-direction:column;flex-grow:1;flex-shrink:0;justify-content:space-between;overflow-anchor:none;height:auto;position:relative;',
      });
      var i = { name: '1w5zg6j', styles: 'opacity:0.2;' },
        s = { name: '3dmdqb', styles: 'transition:none;' };
      const l = Object(r.c)('div', { target: 'e1h2hbch1' })(
          'padding:24px 24px 0;display:flex;flex-flow:row wrap;transition:transform ',
          a.b,
          ';overflow-anchor:none;> *{flex:1 100%;max-width:100%;}',
          ({ isScrolling: e }) => e && s,
          ' ',
          ({ isBorderless: e, isFaded: t }) => e && Object(r.b)('padding:0;', t && i)
        ),
        c = Object(r.c)('div', { target: 'e1h2hbch2' })(
          'text-align:center;color:',
          Object(r.f)('metaText'),
          ';font-size:13px;clear:both;padding-top:14px;padding-bottom:14px;&:first-of-type{padding-top:0px;}'
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return a;
      });
      var r = n(460);
      function a(e) {
        const t = Object(r.useRef)(null),
          [n, a] = Object(r.useState)(!1);
        return (
          Object(r.useEffect)(
            () => ((t.current = setTimeout(() => a(!0), e)), () => clearTimeout(t.current)),
            [e]
          ),
          n
        );
      }
    },
    function (e, t, n) {
      'use strict';
      t.a = (e, t, n) => {
        let a = r(t);
        const o = 'absolute' === a.position,
          i = n ? /(auto|scroll|hidden)/ : /(auto|scroll)/;
        if ('fixed' === a.position) return e.document.body;
        for (let e = t; (e = e.parentElement); )
          if (
            ((a = r(e)),
            (!o || 'static' !== a.position) && i.test(a.overflow + a.overflowY + a.overflowX))
          )
            return e;
        return e.document.body;
      };
      const r = (e) =>
        window.getComputedStyle && window.getComputedStyle(e)
          ? window.getComputedStyle(e)
          : e.style;
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r);
      t.a = () =>
        a.a.createElement(
          'svg',
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 29 18' },
          a.a.createElement(
            'g',
            { fillRule: 'evenodd' },
            a.a.createElement('path', {
              d: 'M9 1a8 8 0 1 0 0 16h11a8 8 0 1 0 0-16H9zm0-1h11a9 9 0 0 1 0 18H9A9 9 0 0 1 9 0z',
              fillRule: 'nonzero',
            }),
            a.a.createElement('path', {
              d: 'M6.561 9.337c0-2.277 1.683-3.795 3.773-3.795 1.298 0 2.2.572 2.849 1.375l-.726.451c-.462-.594-1.243-1.012-2.123-1.012-1.606 0-2.827 1.232-2.827 2.981 0 1.738 1.221 2.992 2.827 2.992.88 0 1.606-.429 1.969-.792v-1.496H9.784v-.814h3.432v2.651a3.822 3.822 0 0 1-2.882 1.265c-2.09 0-3.773-1.529-3.773-3.806zM14.701 13V5.663h.913V13h-.913zm2.629 0V5.663h4.807v.814h-3.894v2.365h3.817v.814h-3.817V13h-.913z',
            })
          )
        );
    },
    function (e, t, n) {
      'use strict';
      n.d(t, 'a', function () {
        return i;
      });
      var r = n(72),
        a = n.n(r),
        o = n(1);
      const i = Object(o.createSelector)(
        (e) => e.banners,
        (e) => a()(e, 'id')
      );
    },
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      var r = n(462),
        a = n(460),
        o = n.n(a),
        i = n(490),
        s = n(159),
        l = n(461);
      const c = Object(l.c)('div', { target: 'e6v5kix0' })({
        name: 'icbmz8',
        styles: 'padding:26px 24px 24px 24px;line-height:1.5;',
      });
      var d = n(466),
        p = n(49);
      const u = ({ disabled: e, theme: t }) =>
          Object(l.b)(
            !e &&
              Object(l.b)(
                'background-color:',
                t.buttonBackgroundColor,
                ';color:',
                t.buttonTextColor,
                ';&:hover{background-color:',
                t.buttonBackgroundColorHover,
                ';}&:active{background-color:',
                t.buttonBackgroundColorActive,
                ';}'
              ),
            ';',
            e &&
              Object(l.b)(
                'background-color:',
                t.disabledButtonBackground,
                ';color:',
                t.disabledButtonText,
                ';'
              )
          ),
        m = ({ disabled: e, theme: t }) =>
          Object(l.b)(
            !t.isPrimaryColorLight &&
              !e &&
              Object(l.b)(
                'background-color:',
                t.white,
                ';color:',
                t.buttonBackgroundColor,
                ';border:1px solid ',
                t.buttonBackgroundColor,
                ';&:hover{color:',
                t.buttonBackgroundColorHover,
                ';border:1px solid ',
                t.buttonBackgroundColorHover,
                ';}&:active{color:',
                t.buttonBackgroundColorActive,
                ';border:1px solid ',
                t.buttonBackgroundColorActive,
                ';}'
              ),
            ';',
            t.isPrimaryColorLight &&
              !e &&
              Object(l.b)(
                'background-color:',
                t.buttonBackgroundColor,
                ';color:',
                t.buttonTextColor,
                ';border:1px solid ',
                t.lightGrey2,
                ';&:hover{background-color:',
                t.buttonBackgroundColorHover,
                ';}&:active{background-color:',
                t.buttonBackgroundColorActive,
                ';}'
              ),
            ';',
            e &&
              Object(l.b)(
                'background-color:',
                t.white,
                ';border:1px solid ',
                t.disabledButtonBorder,
                ';color:',
                t.disabledButtonText,
                ';'
              ),
            ';'
          ),
        h = ({ disabled: e, theme: t }) =>
          Object(l.b)(
            'color:',
            t.buttonBackgroundColor,
            ';',
            t.isPrimaryColorLight && Object(l.b)('color:', t.buttonTextColor, ';'),
            ';',
            e && Object(l.b)('background-color:transparent;color:', t.disabledButtonText, ';'),
            ';'
          );
      var b = { name: '1j8r2w0', styles: 'cursor:default;' },
        g = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const f = Object(l.c)('button', { target: 'e120mg6h0' })(
        'position:relative;width:100%;min-height:40px;padding:6px 12px;margin-bottom:8px;box-sizing:border-box;border-radius:3px;text-align:center;font-weight:700;pointer-events:auto;cursor:pointer;transition:all 120ms,color 0.3s,background-color 0.3s;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;',
        ({ noBottomMargin: e }) => e && g,
        ' ',
        ({ isLoading: e, disabled: t }) => (t || e) && b,
        ';',
        ({ styleVariant: e }) => 'primary' === e && u,
        ' ',
        ({ styleVariant: e }) => 'secondary' === e && m,
        ' ',
        ({ styleVariant: e }) => 'link' === e && h
      );
      var v = n(472),
        x = n(39);
      function y() {
        return (y =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function j(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function O(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class button_ButtonComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            O(this, 'handleClick', (e) => {
              const { id: t, action: n, loading: r, disabled: a, onClick: o } = this.props;
              e.preventDefault(), a || r || o(t, n, 'button', 'clicked', e);
            });
        }
        isDisabled() {
          const { disabled: e, loading: t } = this.props;
          return e && !t;
        }
        render() {
          const { label: e, loading: t, style: n, isLast: r, bottomMargin: a } = this.props,
            i = 'none' === a || r,
            s = 'primary' === n ? 'white' : 'primary',
            l = (function (e) {
              for (var t = 1; t < arguments.length; t++) {
                var n = null != arguments[t] ? arguments[t] : {};
                t % 2
                  ? j(Object(n), !0).forEach(function (t) {
                      O(e, t, n[t]);
                    })
                  : Object.getOwnPropertyDescriptors
                  ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
                  : j(Object(n)).forEach(function (t) {
                      Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                    });
              }
              return e;
            })({ 'aria-label': t ? Object(x.e)('loading') : e }, t ? { role: 'progressbar' } : {});
          return o.a.createElement(
            f,
            y(
              {
                className: 'intercom-messenger-card-button',
                styleVariant: n,
                isLoading: t,
                noBottomMargin: i,
                disabled: this.isDisabled(),
                onClick: this.handleClick,
              },
              l
            ),
            t ? o.a.createElement(v.a, { size: 'small', color: s }) : e
          );
        }
      }
      O(button_ButtonComponent, 'defaultProps', {
        style: 'primary',
        disabled: !1,
        loading: !1,
        isLast: !1,
        bottomMargin: 'default',
      });
      var C = n(516),
        w = n(163),
        E = { name: 'gx0lhm', styles: 'margin-bottom:0;' },
        k = { name: '1fn0841', styles: 'justify-content:flex-start;' },
        S = { name: '1a9getn', styles: 'justify-content:flex-end;' },
        _ = { name: '1tyndxa', styles: 'justify-content:center;' },
        P = { name: '1itkqg2', styles: 'margin-bottom:-24px;' },
        T = { name: '1aja870', styles: 'margin:-24px -24px 8px;' },
        B = { name: 'khlufd', styles: 'margin:auto -24px 8px;' },
        N = { name: '2cvw38', styles: 'img{border-radius:50%;}' },
        A = { name: '157sgfy', styles: '&,*{cursor:pointer;}' },
        M = { name: '1tzeee1', styles: 'opacity:0.5;' };
      const I = Object(l.c)('div', { target: 'e17ij5so0' })(
        'display:flex;flex-direction:row;align-items:center;margin-bottom:8px;-webkit-touch-callout:none;user-select:none;img{display:block;}',
        ({ isDisabled: e }) => e && M,
        ' ',
        ({ isActive: e }) => e && A,
        ' ',
        ({ isRound: e }) => e && N,
        ' ',
        ({ imageAlign: e }) => 'full_width' === e && B,
        ' ',
        ({ imageAlign: e, isFirst: t }) => 'full_width' === e && t && T,
        ' ',
        ({ imageAlign: e, isLast: t }) => 'full_width' === e && t && P,
        ' ',
        ({ imageAlign: e }) => 'center' === e && _,
        ' ',
        ({ imageAlign: e }) => 'right' === e && S,
        ' ',
        ({ imageAlign: e }) => 'left' === e && k,
        ' ',
        ({ isLast: e, bottomMargin: t }) => (e || 'none' === t) && E
      );
      var z = { name: 'qwdy8v', styles: 'border-radius:0 0 3px 3px;' };
      const L = Object(l.c)('div', { target: 'e17ij5so1' })(
        'overflow:hidden;',
        ({ isFullWidth: e, isLast: t }) => e && t && z
      );
      function R(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class image_ImageComponent extends a.Component {
        constructor(...e) {
          super(...e),
            R(this, 'state', {}),
            R(this, 'handleClick', (e) => {
              const { action: t, onClick: n } = this.props;
              n && t && 'url' === t.type && t.url && n(t.url, t, 'image', 'clicked', e);
            }),
            R(this, 'handleImageLoad', (e) => {
              const t = e.target,
                { width: n, height: r } = this.props;
              this.setState({ imageWidth: n || t.offsetWidth, imageHeight: r || t.offsetHeight });
            });
        }
        hasUrlAction() {
          const { action: e } = this.props;
          return e && 'url' === e.type && e.url;
        }
        calculateImageWidth(e) {
          if (e) return e > 213 ? '100%' : e;
        }
        calculateImageHeight(e, t) {
          if (e && t) return e > 213 ? 'auto' : t;
        }
        getImageStyle() {
          const { imageWidth: e, imageHeight: t } = this.state,
            { width: n, height: r } = this.props,
            a = n || e,
            o = r || t;
          return a || o
            ? { width: this.calculateImageWidth(a), height: this.calculateImageHeight(a, o) }
            : {};
        }
        render() {
          const {
              url: e,
              alt: t,
              align: n,
              rounded: r,
              isLast: a,
              bottomMargin: i,
              disabled: s,
              isFirst: l,
            } = this.props,
            { imageWidth: c, imageHeight: d } = this.state,
            p = Object(w.a)(window) && 'full_width' === n ? 'center' : n;
          return o.a.createElement(
            I,
            {
              'onClick': this.handleClick,
              'aria-label': t || '',
              'tabIndex': this.hasUrlAction() ? '0' : '-1',
              'role': this.hasUrlAction() ? 'button' : void 0,
              'isRound': c && d && r,
              'isFirst': l,
              'bottomMargin': i,
              'isLast': a,
              'isActive': this.hasUrlAction() && !s,
              'isDisabled': s,
              'imageAlign': p,
            },
            o.a.createElement(
              L,
              {
                isLast: a,
                isFullWidth: 'full_width' === p,
                className: 'intercom-messenger-card-image-wrapper',
              },
              o.a.createElement('img', {
                src: e,
                alt: t || '',
                role: t ? void 0 : 'presentation',
                style: this.getImageStyle(),
                onLoad: this.handleImageLoad,
              })
            )
          );
        }
      }
      R(image_ImageComponent, 'defaultProps', {
        align: 'left',
        rounded: !1,
        isLast: !1,
        bottomMargin: 'default',
        disabled: !1,
      });
      var F = { name: '19idom', styles: 'margin-bottom:8px;' };
      const D = Object(l.c)('div', { target: 'e1kgnu3v0' })(({ noBottomMargin: e }) => !e && F),
        H = Object(l.c)('label', { target: 'e1kgnu3v1' })({
          name: '1lg26qb',
          styles: 'display:block;margin-bottom:8px;',
        });
      var W = n(539);
      function q(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class input_InputComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            q(this, 'node', null),
            q(this, 'interval', void 0),
            q(this, 'handleSubmit', () => {
              const { id: e, action: t } = this.props;
              this.props.onSubmit(e, t, 'input', 'submitted');
            }),
            q(this, 'handleChange', (e) => {
              this.props.onChange(this.props.id, e);
            }),
            q(this, 'handleFocus', () => {
              this.props.onFocus(this.props.id);
            });
        }
        componentWillUnmount() {
          clearInterval(this.interval);
        }
        renderLabel() {
          return o.a.createElement(H, null, this.props.label);
        }
        buildInputProps() {
          const {
            action: e,
            value: t,
            id: n,
            label: r,
            placeholder: a,
            saveState: o,
            disabled: i,
            ariaLabel: s,
            ariaLabelledby: l,
            messengerAppId: c,
          } = this.props;
          return {
            value: t,
            placeholder: a,
            id: n,
            label: r,
            saveState: o,
            disabled: i,
            ariaLabel: s,
            ariaLabelledby: l,
            messengerAppId: c,
            buttonAriaLabel: e ? e.ariaLabel : void 0,
            buttonAriaLabelledby: e ? e.ariaLabelledby : void 0,
            hideErrorMessage: !0,
            autoFocus: !1,
            isBorderless: !1,
            isReplyType: !1,
            isSubmittable: !!e,
            onSubmit: this.handleSubmit,
            onChange: this.handleChange,
            isValid: () => !0,
            onFocus: this.handleFocus,
          };
        }
        renderInput() {
          const e = this.buildInputProps();
          return o.a.createElement(W.a, e);
        }
        render() {
          const { isLast: e, bottomMargin: t } = this.props,
            n = e || 'none' === t;
          return o.a.createElement(
            D,
            { noBottomMargin: n, ref: (e) => (this.node = e) },
            this.props.label ? this.renderLabel() : null,
            this.renderInput()
          );
        }
      }
      q(input_InputComponent, 'defaultProps', {
        disabled: !1,
        saveState: 'unsaved',
        required: !0,
        isLast: !1,
        bottomMargin: 'default',
      });
      var U = n(52),
        V = n.n(U);
      const G = Object(l.c)('label', { target: 'elgomep0' })(
        'display:block;margin-bottom:8px;',
        ({ error: e, theme: t }) => e && Object(l.b)('color:', t.red, ';')
      );
      var $ = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const X = Object(l.c)('textarea', { target: 'elgomep1' })(
        'display:block;width:100%;height:80px;padding:11px 16px;box-sizing:border-box;font-size:14px;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,0.07);border:1px solid ',
        Object(l.f)('textareaBorder'),
        ';color:',
        Object(l.f)('textareaText'),
        ';border-radius:4px;background:',
        Object(l.f)('textareaBackground'),
        ';margin-bottom:8px;overflow-wrap:break-word;resize:none;&:focus{background:',
        Object(l.f)('white'),
        ';}&::placeholder{color:',
        Object(l.f)('textareaPlaceholder'),
        ';}&[disabled]{cursor:not-allowed;}',
        ({ noBottomMargin: e }) => e && $,
        ' ',
        ({ error: e, theme: t }) =>
          e &&
          Object(l.b)(
            '&,&:focus{color:',
            t.invalidTextareaText,
            ';background-color:',
            t.invalidTextareaBackground,
            ';border-color:',
            t.invalidTextareaBorder,
            ';}'
          )
      );
      var Y = n(463),
        K = n(649),
        Z = n(81);
      function J() {
        return (J =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function Q(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function ee(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? Q(Object(n), !0).forEach(function (t) {
                te(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : Q(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function te(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class textarea_TextAreaComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            te(this, 'state', { value: this.props.value || '', prevProps: {} }),
            te(this, 'handleChange', (e) => {
              const t = e.target.value;
              this.setState({ value: t }), this.props.onChange(this.props.id, t);
            }),
            te(this, 'handleFocus', () => {
              this.props.onFocus(this.props.id);
            }),
            te(this, 'handleMobileClick', () => {
              const { disabled: e, id: t, label: n } = this.props,
                r = Object(w.a)(window);
              if (!r || e) return;
              const a = {
                type: 'INPUT_TEXT',
                payload: {
                  currentValue: this.state.value,
                  id: t,
                  label: n,
                  placeholder: this.props.placeholder,
                },
              };
              r.handleAction(JSON.stringify(a));
            });
        }
        static getDerivedStateFromProps(e, t) {
          return !t || V()(e, t.prevProps) ? null : { value: e.value || t.value || '' };
        }
        buildTextAreaProps() {
          const e = this.state.value,
            { id: t, placeholder: n, disabled: r } = this.props;
          return {
            id: t,
            value: e,
            placeholder: n,
            disabled: r,
            autoFocus: !1,
            onChange: this.handleChange,
            onFocus: this.handleFocus,
          };
        }
        render() {
          const {
              label: e,
              ariaLabel: t,
              ariaLabelledby: n,
              error: r,
              isLast: a,
              bottomMargin: i,
            } = this.props,
            s = ee(
              ee({}, r ? { 'aria-invalid': !0 } : {}),
              {},
              { 'aria-labelledby': n, 'aria-label': t || e }
            );
          return o.a.createElement(
            Y.a,
            null,
            e && o.a.createElement(G, { error: r }, e),
            Object(w.a)(window) &&
              o.a.createElement(K.a, {
                onClick: this.handleMobileClick,
                tabIndex: '-1',
                role: 'presentation',
              }),
            o.a.createElement(
              X,
              J(
                { onBlur: Z.d, error: r, noBottomMargin: 'none' === i || a },
                this.buildTextAreaProps(),
                s
              )
            )
          );
        }
      }
      te(textarea_TextAreaComponent, 'defaultProps', {
        disabled: !1,
        isLast: !1,
        bottomMargin: 'default',
      });
      const ne = { xs: 4, s: 8, m: 16, l: 24, xl: 32 },
        re = Object(l.c)('div', { target: 'e1p8xmz90' })('width:100%;', ({ size: e }) =>
          Object(l.b)('height:', ne[e], 'px;')
        );
      class spacer_SpacerComponent extends a.PureComponent {
        render() {
          return o.a.createElement(re, { size: this.props.size });
        }
      }
      var ae, oe, ie;
      (ie = { size: 's' }),
        (oe = 'defaultProps') in (ae = spacer_SpacerComponent)
          ? Object.defineProperty(ae, oe, {
              value: ie,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (ae[oe] = ie);
      var se = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const le = Object(l.c)('div', { target: 'e1lxo77t0' })(
        ({ theme: e }) => Object(l.b)('border-top:1px solid ', e.dividerBorder, ';'),
        ';height:0;margin:0 -24px 8px;',
        ({ noBottomMargin: e }) => e && se
      );
      class divider_DividerComponent extends a.PureComponent {
        render() {
          const { isLast: e, bottomMargin: t } = this.props,
            n = e || 'none' === t;
          return o.a.createElement(le, { noBottomMargin: n });
        }
      }
      !(function (e, t, n) {
        t in e
          ? Object.defineProperty(e, t, {
              value: n,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (e[t] = n);
      })(divider_DividerComponent, 'defaultProps', { isLast: !1, bottomMargin: 'default' });
      const ce = Object(l.c)('div', { target: 'e1b3yklj0' })(
          'background-color:',
          Object(l.f)('white'),
          ';padding:16px 24px;border-bottom:1px solid ',
          Object(l.f)('dividerBorder'),
          ';display:flex;flex-direction:row;justify-content:flex-start;align-items:center;position:relative;&:last-child{border-bottom:0;}',
          I.className,
          '{margin-bottom:0;margin-right:8px;}',
          ({ isDisabled: e, theme: t }) =>
            e && Object(l.b)('pointer-events:none;background-color:', t.white, ';'),
          ' ',
          ({ isActive: e }) => e && me,
          ' .intercom-messenger-card-image{margin-bottom:0;margin-right:8px;}'
        ),
        de = Object(l.c)('div', { target: 'e1b3yklj1' })({
          name: 'tg33l',
          styles: 'flex:1;display:flex;flex-direction:column;justify-content:center;',
        }),
        pe = Object(l.c)('div', { target: 'e1b3yklj2' })(
          'color:',
          Object(l.f)('black'),
          ';font-size:14px;',
          ({ hasAction: e, theme: t }) => e && Object(l.b)('color:', t.appColor, ';'),
          ' ',
          ({ isDisabled: e, theme: t }) => e && Object(l.b)('color:', t.listDisabled, ';'),
          ' ',
          ({ hasAction: e, theme: t }) =>
            e && t.isPrimaryColorLight && Object(l.b)('color:', t.black, ';')
        ),
        ue = Object(l.c)('div', { target: 'e1b3yklj3' })(
          'font-size:14px;color:',
          Object(l.f)('subheaderText'),
          ';'
        ),
        me = ({ theme: e }) =>
          Object(l.b)(
            'cursor:pointer;*{cursor:pointer;}&:hover{background-color:',
            e.itemHover,
            ';}&:active{background-color:',
            e.itemActive,
            ';}'
          );
      var he = { name: '1itkqg2', styles: 'margin-bottom:-24px;' },
        be = { name: '12595yo', styles: 'margin-bottom:0px;' },
        ge = { name: '1n72ugh', styles: 'border-bottom:0;margin-bottom:-24px;' },
        fe = { name: '1gmu3ks', styles: 'border-top:0;margin-top:-24px;' };
      const ve = Object(l.c)('div', { target: 'e6km4ip0' })(
        'position:relative;margin:0 -24px 8px;border-top:1px solid ',
        Object(l.f)('dividerBorder'),
        ';border-bottom:1px solid ',
        Object(l.f)('dividerBorder'),
        ';user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;',
        ({ isFirst: e }) => e && fe,
        ' ',
        ({ isLast: e }) => e && ge,
        ' ',
        ({ noBottomMargin: e }) => e && be,
        ' ',
        ({ isLast: e, noBottomMargin: t }) => e && t && he,
        ' ',
        ({ isFirst: e, theme: t }) =>
          e &&
          !t.isPrimaryColorLight &&
          Object(l.b)(
            ce.className,
            ':first-of-type,',
            ce.className,
            ':first-of-type:active,',
            ce.className,
            ':first-of-type:hover{margin-top:2px;border-radius:3px 3px 0 0;}'
          )
      );
      var xe = n(495);
      function ye(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class list_item_ListItemComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            ye(this, 'handleClick', (e) => {
              const { id: t, action: n, onClick: r } = this.props;
              !this.isDisabled() && n && r(t, n, 'actionable_list_item', 'clicked', e);
            });
        }
        isDisabled() {
          const { disabled: e, loading: t } = this.props;
          return e || t;
        }
        hasUrlAction() {
          const { action: e } = this.props;
          return e && 'url' === e.type && e.url;
        }
        buildImageProps() {
          const { image: e, imageWidth: t, imageHeight: n, roundedImage: r } = this.props;
          return {
            type: 'image',
            url: e,
            width: t,
            height: n,
            rounded: r,
            disabled: this.isDisabled(),
          };
        }
        renderSubtitle() {
          const { subtitle: e, tertiaryText: t } = this.props;
          return o.a.createElement(
            ue,
            null,
            e &&
              o.a.createElement(
                'span',
                { className: 'intercom-messenger-card-list-item-text-subtitle-secondary-text' },
                e
              ),
            e && t && o.a.createElement('span', null, ' • '),
            t && o.a.createElement('span', null, t)
          );
        }
        renderSpinner() {
          return this.hasUrlAction() || !this.props.loading
            ? null
            : o.a.createElement(v.a, { size: 'small', color: 'primary' });
        }
        render() {
          const {
            title: e,
            subtitle: t,
            tertiaryText: n,
            image: r,
            disabled: a,
            action: i,
          } = this.props;
          return o.a.createElement(
            ce,
            {
              'className': 'intercom-messenger-card-list-item',
              'onClick': this.handleClick,
              'aria-disabled': a,
              'isDisabled': this.isDisabled(),
              'isActive': i && !this.isDisabled(),
            },
            r ? o.a.createElement(image_ImageComponent, this.buildImageProps()) : null,
            o.a.createElement(
              de,
              null,
              o.a.createElement(
                pe,
                {
                  className: 'intercom-messenger-card-list-item-text-title',
                  hasAction: i,
                  isDisabled: this.isDisabled(),
                },
                e
              ),
              t || n ? this.renderSubtitle() : null
            ),
            this.renderSpinner()
          );
        }
      }
      function je() {
        return (je =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      ye(list_item_ListItemComponent, 'defaultProps', {
        title: '',
        disabled: !1,
        loading: !1,
        roundedImage: !1,
      }),
        ye(list_item_ListItemComponent, 'contextType', xe.a);
      class list_ListComponent extends a.PureComponent {
        render() {
          const {
              items: e,
              onItemClick: t,
              disabled: n,
              isFirst: r,
              isLast: a,
              bottomMargin: i,
            } = this.props,
            s = 'none' === i;
          return o.a.createElement(
            ve,
            { isFirst: r, isLast: a, noBottomMargin: s },
            e.map((e, r) =>
              o.a.createElement(
                list_item_ListItemComponent,
                je({ key: r }, e, { disabled: n || e.disabled, onClick: t })
              )
            )
          );
        }
      }
      !(function (e, t, n) {
        t in e
          ? Object.defineProperty(e, t, {
              value: n,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (e[t] = n);
      })(list_ListComponent, 'defaultProps', {
        items: [],
        isFirst: !1,
        isLast: !1,
        bottomMargin: 'default',
        disabled: !1,
      });
      var Oe = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const Ce = Object(l.c)('table', { target: 'ewa2e460' })(
          'display:block;overflow:hidden;margin:0 0 8px;max-width:100%;width:100%;',
          ({ removeBottomMargin: e }) => e && Oe
        ),
        we = Object(l.c)('tr', { target: 'ewa2e461' })(
          'background-color:',
          Object(l.f)('white'),
          ';vertical-align:top;'
        ),
        Ee = Object(l.c)('td', { target: 'ewa2e462' })(
          'color:',
          Object(l.f)('grey'),
          ';padding-right:8px;'
        ),
        ke = Object(l.c)('td', { target: 'ewa2e463' })(
          'color:',
          Object(l.f)('black'),
          ';white-space:pre-wrap;word-break:break-all;word-wrap:break-word;'
        );
      function Se({ items: e, bottomMargin: t }) {
        return o.a.createElement(
          Ce,
          { removeBottomMargin: 'none' === t },
          o.a.createElement(
            'tbody',
            null,
            e.map((e, t) =>
              (function (e, t, n) {
                return o.a.createElement(
                  we,
                  { key: n.toString() },
                  o.a.createElement(Ee, null, e),
                  o.a.createElement(ke, null, t)
                );
              })(e.field, e.value, t)
            )
          )
        );
      }
      var _e = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const Pe = Object(l.c)('div', { target: 'e1rfn88f0' })(
          'margin:0 0 8px;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;',
          ({ noBottomMargin: e }) => e && _e
        ),
        Te = Object(l.c)('label', { target: 'e1rfn88f1' })({
          name: '10xqq1x',
          styles: 'display:block;margin-bottom:5px;font-size:14px;line-height:21px;',
        });
      var Be = n(685);
      var Ne = Object(r.connect)((e) => {
        var t;
        return {
          renderNativePickerInMobile:
            !(null == e || null === (t = e.app) || void 0 === t || !t.features) &&
            e.app.features.renderNativePickerInMobile,
        };
      })(Be.a);
      function Ae(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class dropdown_DropdownComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            Ae(this, 'state', this.getDefaultState()),
            Ae(this, 'handleOnChange', (e) => {
              this.setState({ value: e }), this.props.onChange(this.props.id, e.id);
            });
        }
        getDefaultState() {
          const { options: e, value: t } = this.props;
          return { value: e.find((e) => e.id === t), loading: !1 };
        }
        renderLabel() {
          return o.a.createElement(Te, null, this.props.label);
        }
        mapOptions() {
          return this.props.options.map((e) => ({
            id: e.id,
            text: e.text,
            disabled: !!e.disabled,
          }));
        }
        render() {
          const { label: e, disabled: t, saveState: n } = this.props;
          return o.a.createElement(
            Pe,
            null,
            e ? this.renderLabel() : null,
            o.a.createElement(Ne, {
              value: this.state.value,
              options: this.mapOptions(),
              disabled: t,
              saveState: n,
              frameWindow: this.props.frameWindow,
              onChange: this.handleOnChange,
            })
          );
        }
      }
      Ae(dropdown_DropdownComponent, 'defaultProps', { disabled: !1, bottomMargin: 'default' });
      var Me = n(689),
        Ie = n(156),
        ze = n(586),
        Le = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const Re = Object(l.c)('div', { target: 'eux7fbx0' })(
          'margin:0 0 8px;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;',
          ({ noBottomMargin: e }) => e && Le,
          ' ',
          ze.a.className,
          '{position:relative;top:-8px;}'
        ),
        Fe = Object(l.c)('label', { target: 'eux7fbx1' })({
          name: '1cjafuu',
          styles: 'display:block;margin-bottom:5px;font-size:14px;line-height:20px;',
        });
      function De(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class single_select_SingleSelectComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            De(this, 'state', this.getDefaultState()),
            De(this, 'handleOnChange', (e) => {
              const { id: t, action: n, disabled: r, onChange: a, onSubmit: o } = this.props;
              r ||
                this.state.loading ||
                (n
                  ? ('submit' === n.type && this.setState({ value: e, loading: !0 }),
                    a(t, e.id, () => {
                      o(t, n, 'single-select', 'submitted');
                    }))
                  : (this.setState({ value: e }), a(t, e.id)));
            });
        }
        getDefaultState() {
          const { options: e, value: t, saveState: n } = this.props;
          return { value: e.find((e) => e.id === t), loading: 'saving' === n };
        }
        componentDidUpdate() {
          this.state.loading && 'saved' === this.props.saveState && this.handleSaveCompletion();
        }
        renderLabel() {
          return o.a.createElement(Fe, null, this.props.label);
        }
        handleSaveCompletion() {
          this.setState({ loading: !1 });
        }
        mapOptions() {
          return this.props.options.map((e) => ({
            id: e.id,
            text: e.text,
            disabled: !!e.disabled,
          }));
        }
        render() {
          const { label: e, saveState: t, disabled: n, bottomMargin: r } = this.props,
            { value: a } = this.state;
          return o.a.createElement(
            Re,
            { className: 'intercom-messenger-card-single-select', noBottomMargin: 'none' === r },
            e ? this.renderLabel() : null,
            o.a.createElement(Me.a, {
              value: a,
              key: Object(Ie.a)(JSON.stringify(a)),
              options: this.mapOptions(),
              saveState: t,
              disabled: n,
              isLoading: this.state.loading,
              onChange: this.handleOnChange,
            })
          );
        }
      }
      De(single_select_SingleSelectComponent, 'defaultProps', {
        disabled: !1,
        bottomMargin: 'default',
      });
      var He = n(506);
      const We = Object(l.c)('div', { target: 'e1lb7dx10' })(
          'display:flex;flex-direction:row;',
          ({ theme: e, saveState: t, disabled: n }) =>
            ('saved' === t || n) && Object(l.b)('color:', e.grey, ';')
        ),
        qe = Object(l.c)('input', { target: 'e1lb7dx11' })({
          name: '12sfay8',
          styles: 'margin:3px 6px 3px 0px;',
        }),
        Ue = Object(l.c)('label', { target: 'e1lb7dx12' })();
      class checkbox_group_option_CheckboxGroupOption extends a.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'handleClick', () => {
              const { id: e, text: t, onClick: n, disabled: r } = this.props;
              r || n({ id: e, text: t });
            });
        }
        render() {
          const { id: e, name: t, text: n, isChecked: r, disabled: a, saveState: i } = this.props;
          return o.a.createElement(
            We,
            { disabled: a, className: 'intercom-messenger-card-checkbox-option' },
            o.a.createElement(qe, {
              'type': 'checkbox',
              'id': e,
              'name': t,
              'checked': r,
              'disabled': a || 'saved' === i,
              'key': e,
              'onClick': this.handleClick,
              'aria-disabled': a || 'saved' === i,
              'saveState': i,
            }),
            o.a.createElement(Ue, { for: e, disabled: a || 'saved' === i }, n)
          );
        }
      }
      const Ve = Object(l.c)('div', { target: 'eben5pv0' })();
      function Ge(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class checkbox_group_CheckboxGroupAttribute extends a.Component {
        constructor(...e) {
          super(...e),
            Ge(this, 'state', { value: this.props.value }),
            Ge(this, 'handleChange', (e) => {
              var t;
              const { saveState: n, disabled: r } = this.props;
              if ('saved' === n || 'saving' === n || r) return;
              const a = (null === (t = this.state) || void 0 === t ? void 0 : t.value) || [];
              let o = [];
              (o = a.some((t) => t.id === e.id) ? a.filter((t) => t.id !== e.id) : [...a, e]),
                this.setState({ value: o }),
                this.props.onChange(o);
            });
        }
        renderOption(e, t) {
          const { name: n, disabled: r, isLoading: a, saveState: i } = this.props,
            { value: s } = this.state;
          return o.a.createElement(checkbox_group_option_CheckboxGroupOption, {
            key: t,
            name: n,
            id: e.id,
            text: e.text,
            disabled: r || 'saved' === i || !!e.disabled,
            isChecked: !!s && s.some((t) => t.id === e.id),
            isLoading: a,
            onClick: this.handleChange,
            saveState: i,
          });
        }
        renderOptions() {
          const { options: e, disabled: t } = this.props;
          return o.a.createElement(
            Ve,
            { 'aria-disabled': t },
            e.map((e, t) => this.renderOption(e, t))
          );
        }
        render() {
          return o.a.createElement(
            'div',
            null,
            this.renderOptions(),
            'failed' === this.props.saveState &&
              o.a.createElement(He.a, { errorMessage: Object(x.e)('something_is_wrong') })
          );
        }
      }
      var $e = { name: 'gx0lhm', styles: 'margin-bottom:0;' };
      const Xe = Object(l.c)('div', { target: 'e1dknuoq0' })(
          'margin:0 0 8px;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-touch-callout:none;',
          ({ noBottomMargin: e }) => e && $e,
          ' ',
          ze.a.className,
          '{position:relative;top:-8px;}'
        ),
        Ye = Object(l.c)('label', { target: 'e1dknuoq1' })({
          name: '1cjafuu',
          styles: 'display:block;margin-bottom:5px;font-size:14px;line-height:20px;',
        });
      function Ke(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class checkbox_CheckboxComponent extends a.PureComponent {
        constructor(...e) {
          super(...e),
            Ke(this, 'state', this.getDefaultState()),
            Ke(this, 'handleOnChange', (e) => {
              const { id: t, disabled: n, onChange: r } = this.props;
              n ||
                this.state.loading ||
                (this.setState({ value: e }),
                r(
                  t,
                  e.map((e) => e.id)
                ));
            });
        }
        getDefaultState() {
          const { options: e, value: t, saveState: n } = this.props;
          return { value: e.filter((e) => t && -1 !== t.indexOf(e.id)), loading: 'saving' === n };
        }
        componentDidUpdate() {
          this.state.loading && 'saved' === this.props.saveState && this.handleSaveCompletion();
        }
        renderLabel() {
          return o.a.createElement(Ye, null, this.props.label);
        }
        handleSaveCompletion() {
          this.setState({ loading: !1 });
        }
        mapOptions() {
          return this.props.options.map((e) => ({
            id: e.id,
            text: e.text,
            disabled: !!e.disabled,
          }));
        }
        render() {
          const { id: e, label: t, saveState: n, disabled: r, bottomMargin: a } = this.props,
            { value: i } = this.state;
          return o.a.createElement(
            Xe,
            { className: 'intercom-messenger-card-checkbox', noBottomMargin: 'none' === a },
            t ? this.renderLabel() : null,
            o.a.createElement(checkbox_group_CheckboxGroupAttribute, {
              value: i,
              name: e,
              key: Object(Ie.a)(JSON.stringify(i)),
              options: this.mapOptions(),
              saveState: n,
              disabled: r || 'saved' === n,
              isLoading: this.state.loading,
              onChange: this.handleOnChange,
            })
          );
        }
      }
      Ke(checkbox_CheckboxComponent, 'defaultProps', { disabled: !1, bottomMargin: 'default' });
      var Ze = n(695);
      var Je = ({ onRetry: e }) =>
        o.a.createElement(Ze.a, { onRetry: e }, Object(x.e)('couldnt_load_app'));
      const Qe = Object(l.c)('div', { target: 'e1hl8kc40' })({
        name: 'zteh7t',
        styles:
          '.intercom-messenger-card-component-container{&-enter{opacity:0;}&-enter-active{opacity:1;transition:opacity 300ms ease-in-out 600ms;}}',
      });
      var et = n(105),
        tt = n(2);
      function nt() {
        return (nt =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function rt(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const at = 3 * s.b;
      const ot = (e, t) => {
          const n = {};
          return (
            e.components.map((e) => {
              it(e) &&
                (n[e.id] = (function (e, t) {
                  const n = 'checkbox' === t.type ? [] : '';
                  let r = e || {};
                  return r.userChanged || (r = { value: t.value || n, userChanged: !1 }), r;
                })(t[e.id], e));
            }),
            n
          );
        },
        it = (e) =>
          'input' === e.type ||
          'dropdown' === e.type ||
          'single-select' === e.type ||
          'textarea' === e.type ||
          'checkbox' === e.type;
      class messenger_card_component_group_MessengerCardComponentGroup extends a.PureComponent {
        constructor(...e) {
          super(...e),
            rt(this, 'state', {
              values: ot(this.props, {}),
              isGroupLoading: !1,
              isGroupSaving: !1,
            }),
            rt(this, 'handleFormComponentChange', (e, t, n) => {
              const r = this.state.values;
              (r[e] = { value: t, userChanged: !0 }), this.setState({ values: r }, n);
            }),
            rt(this, 'handleInputFocus', (e) => {
              const {
                cardUri: t,
                messengerAppId: n,
                conversationId: r,
                currentView: a,
                isBorderless: o,
              } = this.props;
              Object(tt.e)(
                'focused',
                'input',
                'messenger_card',
                a,
                {
                  conversation_id: r,
                  messenger_app_id: n,
                  messenger_card_uri: t,
                  component_id: e,
                  is_borderless: o,
                },
                'm4_metric'
              );
            }),
            rt(this, 'handleTextAreaFocus', (e) => {
              const {
                cardUri: t,
                messengerAppId: n,
                conversationId: r,
                currentView: a,
                isBorderless: o,
              } = this.props;
              Object(tt.e)(
                'focused',
                'textarea',
                'messenger_card',
                a,
                {
                  conversation_id: r,
                  messenger_app_id: n,
                  messenger_card_uri: t,
                  component_id: e,
                  is_borderless: o,
                },
                'm4_metric'
              );
            }),
            rt(this, 'handleAction', (e, t, n, r, a) => {
              const {
                cardUri: o,
                messengerAppId: i,
                conversationId: s,
                currentView: l,
                isBorderless: c,
              } = this.props;
              if (
                (Object(tt.e)(
                  r,
                  n,
                  'messenger_card',
                  l,
                  {
                    conversation_id: s,
                    messenger_app_id: i,
                    messenger_card_uri: o,
                    action_type: t.type,
                    component_id: e,
                    is_borderless: c,
                  },
                  'm4_metric'
                ),
                'sheet' === t.type &&
                  (Object(tt.e)(
                    'viewed',
                    'messenger_sheet',
                    'messenger',
                    l,
                    {
                      conversation_id: s,
                      messenger_app_id: i,
                      messenger_card_uri: o,
                      component_id: e,
                      url: t.url,
                      is_borderless: c,
                    },
                    'm4_metric'
                  ),
                  a))
              ) {
                const { target: e } = a;
                e && Object(et.f)(() => setTimeout(() => e.focus(), 100));
              }
              var d;
              this.props.onAction(
                e,
                t,
                ((d = this.state.values),
                Object.keys(d).reduce(function (e, t) {
                  return (e[t] = d[t].value), e;
                }, {}))
              );
            });
        }
        static getDerivedStateFromProps(e, t) {
          return {
            values: ot(e, t && t.values ? t.values : {}),
            isGroupLoading: Object(p.b)(e.components, 'loading', !0),
            isGroupSaving: Object(p.b)(e.components, 'saveState', 'saving'),
          };
        }
        isDisabled(e) {
          const { isGroupLoading: t, isGroupSaving: n } = this.state;
          return !0 === e.disabled || t || n;
        }
        renderComponent(e, t) {
          const n = { isFirst: 0 === t, isLast: t === this.props.components.length - 1 };
          switch (e.type) {
            case 'button':
              return o.a.createElement(
                button_ButtonComponent,
                nt({}, e, n, { onClick: this.handleAction, disabled: this.isDisabled(e) })
              );
            case 'text':
              return o.a.createElement(C.a, nt({}, e, n));
            case 'input':
              return o.a.createElement(
                input_InputComponent,
                nt({}, e, n, {
                  onSubmit: this.handleAction,
                  onChange: this.handleFormComponentChange,
                  onFocus: this.handleInputFocus,
                  disabled: this.isDisabled(e),
                  messengerAppId: this.props.messengerAppId,
                })
              );
            case 'textarea':
              return o.a.createElement(
                textarea_TextAreaComponent,
                nt({}, e, n, {
                  onChange: this.handleFormComponentChange,
                  onFocus: this.handleTextAreaFocus,
                  disabled: this.isDisabled(e),
                })
              );
            case 'spacer':
              return o.a.createElement(spacer_SpacerComponent, e);
            case 'divider':
              return o.a.createElement(divider_DividerComponent, nt({}, e, n));
            case 'image':
              return o.a.createElement(
                image_ImageComponent,
                nt({}, e, n, { onClick: this.handleAction })
              );
            case 'list':
              return o.a.createElement(
                list_ListComponent,
                nt({}, e, n, { onItemClick: this.handleAction, disabled: this.isDisabled(e) })
              );
            case 'dropdown':
              return o.a.createElement(
                dropdown_DropdownComponent,
                nt({}, e, n, {
                  onChange: this.handleFormComponentChange,
                  disabled: this.isDisabled(e),
                  frameWindow: this.props.frameWindow,
                })
              );
            case 'single-select':
              return o.a.createElement(
                single_select_SingleSelectComponent,
                nt({}, e, n, {
                  onSubmit: this.handleAction,
                  onChange: this.handleFormComponentChange,
                  disabled: this.isDisabled(e),
                })
              );
            case 'data-table':
              return o.a.createElement(Se, nt({}, e, n));
            case 'checkbox':
              return o.a.createElement(
                checkbox_CheckboxComponent,
                nt({}, e, n, {
                  onChange: this.handleFormComponentChange,
                  disabled: this.isDisabled(e),
                })
              );
            default:
              return `Unknown component: ${e.type}`;
          }
        }
        renderError() {
          return this.props.isContentFetching
            ? null
            : o.a.createElement(
                d.CSSTransition,
                {
                  key: 'error',
                  classNames: 'intercom-messenger-card-component-container',
                  timeout: { enter: at },
                },
                o.a.createElement(Je, { onRetry: this.props.getCardContent })
              );
        }
        renderComponents() {
          const { components: e } = this.props;
          return e.length
            ? o.a.createElement(
                d.CSSTransition,
                {
                  key: 'components',
                  classNames: 'intercom-messenger-card-component-container',
                  timeout: { enter: at },
                },
                o.a.createElement(
                  'div',
                  null,
                  e.map((e, t) =>
                    o.a.createElement(
                      'div',
                      { className: 'intercom-messenger-card-component', key: Object(p.a)(e, t) },
                      this.renderComponent(e, t)
                    )
                  )
                )
              )
            : null;
        }
        render() {
          return o.a.createElement(
            Qe,
            null,
            o.a.createElement(
              d.TransitionGroup,
              { exit: !1 },
              this.props.isContentError ? this.renderError() : this.renderComponents()
            )
          );
        }
      }
      var st = n(11);
      var lt = Object(r.connect)((e, t) => {
          const { cardUri: n } = t;
          if (!e.messengerCards) return {};
          const r = e.messengerCards[n];
          if (!r) return {};
          const { card: a } = r,
            o = !!e.borderless.conversationId,
            i = o ? 'conversation' : Object(st.f)(e),
            { conversationId: s } = e.app;
          return {
            cardUri: n,
            currentView: i,
            messengerAppId: a && a.messenger_app_id,
            conversationId: s,
            isBorderless: o,
          };
        })(messenger_card_component_group_MessengerCardComponentGroup),
        ct = n(580),
        dt = n(547);
      function pt(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const ut = (e) => e.map(p.a).join('-');
      class messenger_card_body_MessengerCardBody extends a.PureComponent {
        constructor(...e) {
          super(...e),
            pt(this, 'node', null),
            pt(this, 'handleHeightChange', (e) => {
              this.props.onHeightChange(e);
            });
        }
        componentDidUpdate(e) {
          if (
            this.node &&
            ((t = e.components), (n = this.props.components), -1 === ut(n).indexOf(ut(t)))
          ) {
            const e = this.node.querySelector('input, button, [role="button"]');
            if (!e) return;
            e.focus();
          }
          var t, n;
        }
        render() {
          const {
              cardUri: e,
              components: t,
              isContentError: n,
              isContentFetching: r,
              isContentFetched: a,
              onAction: l,
              getCardContent: d,
              frameWindow: p,
              showSpinner: u,
              messengerAppId: m,
            } = this.props,
            h = ut(t);
          return o.a.createElement(
            ct.a,
            { onHeightChange: this.handleHeightChange },
            o.a.createElement(
              'div',
              null,
              o.a.createElement(
                dt.a,
                { appearDelay: s.b, duration: s.b, disableInitialAnimation: a },
                u
                  ? o.a.createElement(i.a, { key: 'spinner' }, o.a.createElement(v.a, null))
                  : o.a.createElement(
                      c,
                      {
                        key: h,
                        className: 'intercom-messenger-card-body',
                        ref: (e) => (this.node = e),
                      },
                      o.a.createElement(lt, {
                        cardUri: e,
                        components: t,
                        isContentError: n,
                        isContentFetching: r,
                        onAction: l,
                        getCardContent: d,
                        frameWindow: p,
                        messengerAppId: m,
                      })
                    )
              )
            )
          );
        }
      }
      function mt(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      pt(messenger_card_body_MessengerCardBody, 'defaultProps', { isContentError: !1 });
      const ht = 2 * s.b;
      class messenger_card_MessengerCard extends a.PureComponent {
        constructor(...e) {
          super(...e),
            mt(this, 'state', {}),
            mt(this, 'heightChangeTimeout', void 0),
            mt(this, 'handleHeightChange', (e) => {
              this.setState({ height: e });
            }),
            mt(this, 'addReceivedCardMetric', () => {
              const {
                cardUri: e,
                currentView: t,
                messengerAppId: n,
                homeScreenIndex: r,
                conversationId: a,
                isBorderless: o,
              } = this.props;
              Object(tt.e)(
                'received',
                'messenger_card',
                'messenger',
                t,
                {
                  messenger_card_uri: e,
                  messenger_app_id: n,
                  home_screen_index: r,
                  conversation_id: a,
                  is_borderless: o,
                },
                'm4_metric'
              );
            });
        }
        componentDidUpdate(e, t) {
          const { isContentFetched: n, onHeightChange: r, isBorderless: a } = this.props;
          n && !e.isContentFetched && this.addReceivedCardMetric(),
            this.state.height !== t.height &&
              r &&
              a &&
              (this.heightChangeTimeout && clearTimeout(this.heightChangeTimeout),
              (this.heightChangeTimeout = setTimeout(r, ht)));
        }
        componentDidMount() {
          this.props.isContentFetched && this.addReceivedCardMetric();
        }
        render() {
          const {
              cardUri: e,
              components: t,
              isContentError: n,
              onAction: r,
              getCardContent: a,
              isContentFetching: s,
              isContentFetched: l,
              frameWindow: c,
            } = this.props,
            d = s && !l,
            { height: p } = this.state;
          return o.a.createElement(
            i.b,
            {
              style: { height: `${null != p ? `${p}px` : 'auto'}` },
              className: 'intercom-messenger-card-wrapper',
            },
            o.a.createElement(messenger_card_body_MessengerCardBody, {
              cardUri: e,
              isContentError: n,
              isContentFetched: l,
              isContentFetching: s,
              components: t,
              frameWindow: c,
              getCardContent: a,
              onAction: r,
              onHeightChange: this.handleHeightChange,
              showSpinner: d,
            })
          );
        }
      }
      var bt = n(166),
        gt = n(165),
        ft = n(31),
        vt = n(552),
        xt = n(3),
        yt = n(32);
      const jt = ['submit', 'url', 'sheet', 'start_tour'];
      t.a = Object(r.connect)(
        (e, t) => {
          const { cardUri: n, frameWindow: r, homeScreenIndex: a } = t,
            o = e.messengerCards[n];
          if (void 0 === o)
            return {
              cardUri: n,
              isContentFetching: !0,
              isContentFetched: !1,
              isContentError: !1,
              components: [],
            };
          const { conversationId: i } = e.app,
            s = !!e.borderless.conversationId,
            l = Object(st.f)(e) || 'conversation',
            { isContentFetched: c, isContentFetching: d, isContentError: p, card: u } = o;
          return {
            cardUri: n,
            isContentFetched: c,
            isContentFetching: d,
            isContentError: p,
            components: c ? u.canvas.content.components : [],
            currentView: l,
            messengerAppId: null == u ? void 0 : u.messenger_app_id,
            partialCard: o.partialCard,
            conversationId: i,
            isBorderless: s,
            frameWindow: r,
            homeScreenIndex: a,
          };
        },
        (e) => ({
          onAction: (t, n, r, a) => {
            if (r && -1 !== jt.indexOf(r.type))
              switch (r.type) {
                case 'url':
                  if (!r.url) return;
                  Object(vt.b)(r.url);
                  break;
                case 'submit':
                  if (!n) return;
                  e(Object(bt.a)(xt.b, t, n, a));
                  break;
                case 'sheet':
                  if (!r.url) return;
                  e(Object(gt.b)(xt.b, t, n, r.url, a));
                  break;
                case 'start_tour':
                  if (!n) return;
                  e(Object(yt.g)(n));
              }
          },
          getCardContent: (t) => {
            e(Object(ft.a)(xt.b, t));
          },
        }),
        (e, t, n) =>
          Object.assign({}, n, e, t, {
            onAction: (n, r, a) => {
              const { cardUri: o, isFetching: i } = e;
              i || t.onAction(o, n, r, a);
            },
            getCardContent: () => {
              t.getCardContent(e.partialCard);
            },
          })
      )(messenger_card_MessengerCard);
    },
    function (e, t, n) {
      'use strict';
      var r = n(464),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(9),
        l = n(466),
        c = n(462),
        d = n(657),
        p = n(498),
        u = n(471),
        m = n(2),
        h = n(483);
      function b(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class post_card_PostCard extends o.Component {
        constructor(...e) {
          super(...e),
            b(this, 'state', { isTruncated: !1 }),
            b(this, 'node', void 0),
            b(this, 'handleClick', () => {
              Object(m.e)('viewed', 'post', 'messenger', 'from_card', {
                conversation_id: this.props.conversationId,
              }),
                this.props.onOpen(this.props.conversationId, this.props.part.id);
            }),
            b(this, 'handleClose', () => {
              this.props.onClose();
            }),
            b(this, 'handleComposerClick', () => {
              this.handleClose();
            });
        }
        componentDidMount() {
          this.handleResize();
        }
        handleResize() {
          const { node: e } = this;
          if (!e) return;
          const { scrollHeight: t, clientHeight: n } = e;
          this.setState({ isTruncated: t > n });
        }
        renderPost() {
          const {
            part: e,
            appName: t,
            reactionsReply: n,
            onReactionSelect: r,
            frameWindow: a,
            isUpfrontEmailComposerShowing: o,
          } = this.props;
          return i.a.createElement(d.a, {
            message: e,
            appName: t,
            reactionsReply: n,
            onReactionSelect: r,
            onComposerClick: this.handleComposerClick,
            onClose: this.handleClose,
            frameWindow: a,
            isUpfrontEmailComposerShowing: o,
            returnFocus: this.node && this.node.focus.bind(this.node),
          });
        }
        render() {
          const { part: e, appName: t, frameWindow: n, isOpen: r } = this.props,
            { author: a, body: o } = e;
          return i.a.createElement(
            h.b,
            {
              className: 'intercom-post-card',
              isTruncated: this.state.isTruncated,
              onClick: this.handleClick,
              ref: (e) => (this.node = e),
            },
            i.a.createElement(
              p.a,
              { appName: t, author: a },
              i.a.createElement(h.a, null, i.a.createElement(u.a, { blocks: o, frameWindow: n }))
            ),
            r ? this.renderPost() : null
          );
        }
      }
      var g = n(70);
      var f = Object(c.connect)(
          (e, t) => {
            const n = !(
                !e.message.conversationId ||
                !e.message.partId ||
                (null != t && t.isBorderless)
              ),
              { upfrontEmailCollectorShowing: r } = e.app.upfrontEmailCollection;
            return { isOpen: n, isUpfrontEmailComposerShowing: r };
          },
          (e) => ({
            onOpen: (t, n) => {
              e(Object(g.b)(t, n));
            },
            onClose: () => {
              e(Object(g.a)());
            },
          }),
          (e, t, n) =>
            Object.assign({}, e, t, n, {
              onOpen: (e, n) => {
                t.onOpen(e, n);
              },
              onClose: () => {
                t.onClose();
              },
            })
        )(post_card_PostCard),
        v = n(482);
      class note_card_NoteCard extends o.Component {
        render() {
          const { appName: e, part: t, frameWindow: n } = this.props,
            { author: r, body: a } = t;
          return i.a.createElement(
            v.b,
            { className: 'intercom-note-card' },
            i.a.createElement(
              p.a,
              { appName: e, isReplyStyle: !1, author: r },
              i.a.createElement(
                v.a,
                null,
                i.a.createElement(u.a, { blocks: a, zoomable: !0, frameWindow: n })
              )
            )
          );
        }
      }
      var x = n(691),
        y = n(538),
        j = n(497),
        O = n(519),
        C = n(39),
        w = n(469),
        E = n(470),
        k = n(530),
        S = n(485),
        _ = n(501),
        P = n(491);
      function T(e) {
        const { article: t, frameWindow: n } = e,
          { author: r } = t,
          a = Date.parse(t.updatedAt);
        return i.a.createElement(
          w.a,
          null,
          i.a.createElement(w.d, null, t.title),
          i.a.createElement(w.b, null, t.description),
          i.a.createElement(
            P.b,
            null,
            i.a.createElement(P.a, null, r && i.a.createElement(S.a, { author: r })),
            i.a.createElement(
              k.e,
              null,
              i.a.createElement(
                k.d,
                { className: 'test-author-summary-name-from' },
                i.a.createElement(
                  k.b,
                  { className: 'test-author-summary-from-clause' },
                  `${Object(C.e)('written_by')} `
                ),
                i.a.createElement(k.c, { className: 'test-author-summary-name' }, r.name)
              ),
              i.a.createElement(
                'div',
                null,
                i.a.createElement(
                  k.b,
                  { className: 'test-author-summary-from-clause' },
                  Object(_.e)(a)
                )
              )
            )
          ),
          i.a.createElement(u.a, { blocks: t.blocks, frameWindow: n })
        );
      }
      function B() {
        return (B =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function N(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class article_Article extends o.Component {
        constructor(...e) {
          super(...e),
            N(this, 'state', { isScrolled: !1 }),
            N(this, 'handleScroll', (e) => this.setState({ isScrolled: e.target.scrollTop > 0 })),
            N(this, 'onClose', () => {
              const { article: e, conversationId: t, onClose: n } = this.props;
              Object(m.e)(
                'closed',
                'article',
                'in_app',
                'from_close_button',
                { owner: 'educate', article_id: e && e.id, conversation_id: t },
                'educate_event'
              ),
                n();
            });
        }
        renderReactionPicker() {
          const {
            article: { reactionsReply: e },
            onReactionSelect: t,
          } = this.props;
          return i.a.createElement(
            O.a,
            B({}, e, { prompt: Object(C.e)('article_question'), onReactionSelect: t })
          );
        }
        render() {
          const { isScrolled: e } = this.state,
            { article: t, frameWindow: n, returnFocus: r } = this.props;
          return t && t.id
            ? i.a.createElement(
                y.b,
                {
                  closeCallback: this.onClose,
                  showCloseOverlay: !1,
                  frameWindow: n,
                  returnFocus: r,
                },
                ({ onClose: r }) =>
                  i.a.createElement(
                    E.e,
                    { isScrolled: e },
                    i.a.createElement(
                      w.c,
                      { className: 'intercom-article intercom-post' },
                      i.a.createElement(E.a, {
                        'className': 'intercom-post-close',
                        'onClick': r,
                        'aria-label': Object(C.e)('close'),
                      }),
                      i.a.createElement(
                        j.a,
                        { isInsideModal: !0, onScroll: this.handleScroll },
                        i.a.createElement(T, { article: t, frameWindow: n })
                      ),
                      i.a.createElement(
                        E.c,
                        null,
                        t.reactionsReply ? this.renderReactionPicker() : null
                      )
                    )
                  )
              )
            : null;
        }
      }
      article_Article.propTypes = {
        appName: a.a.string.isRequired,
        article: a.a.object.isRequired,
        onClose: a.a.func.isRequired,
        returnFocus: a.a.func,
        onReactionSelect: a.a.func.isRequired,
        conversationId: a.a.string.isRequired,
        frameWindow: a.a.object,
      };
      var A = n(3),
        M = n(133),
        I = n(487);
      const { assign: z } = Object;
      var L = Object(c.connect)(
          (e) => {
            const {
              app: { name: t, conversationId: n },
            } = e;
            return { appName: t, article: Object(I.a)(e), conversationId: n };
          },
          (e) => ({
            onClose: () => {
              e(Object(M.c)(A.b));
            },
            onReactionSelect: (t, n, r) => {
              e(Object(M.d)(A.b, t, r, n, 'messenger', 'conversation'));
            },
          }),
          (e, t, n) => {
            const r = z({}, e, t, n),
              { article: a, onReactionSelect: o } = r,
              i = a && a.id,
              s = a && a.contentId;
            return z(r, { onReactionSelect: o.bind(null, i, s) });
          }
        )(article_Article),
        R = n(461);
      const F = Object(R.c)('svg', { target: 'ew7qwha0' })(
          'fill:',
          Object(R.f)('appColor'),
          ' !important;height:13px;width:13px;padding-right:5px;'
        ),
        D = () =>
          i.a.createElement(
            F,
            {
              'focusable': 'false',
              'aria-hidden': 'true',
              'viewBox': '0 0 15 15',
              'version': '1.1',
              'xmlns': 'http://www.w3.org/2000/svg',
            },
            i.a.createElement(
              'g',
              { strokeWidth: '1', fillRule: 'evenodd' },
              i.a.createElement(
                'g',
                { fillRule: 'nonzero' },
                i.a.createElement(
                  'g',
                  null,
                  i.a.createElement('path', {
                    d: 'M1,14 L1,4 L8.11538462,4 C8.39152699,4 8.61538462,3.77614237 8.61538462,3.5 C8.61538462,3.22385763 8.39152699,3 8.11538462,3 L0.5,3 C0.223857625,3 0,3.22385763 0,3.5 L0,14.5 C0,14.7761424 0.223857625,15 0.5,15 L11.5,15 C11.7761424,15 12,14.7761424 12,14.5 L12,7.73076923 C12,7.45462686 11.7761424,7.23076923 11.5,7.23076923 C11.2238576,7.23076923 11,7.45462686 11,7.73076923 L11,14 L1,14 Z',
                  }),
                  i.a.createElement('path', {
                    d: 'M5.35355339,10.3535534 L12.8535534,2.85355339 C13.0488155,2.65829124 13.0488155,2.34170876 12.8535534,2.14644661 C12.6582912,1.95118446 12.3417088,1.95118446 12.1464466,2.14644661 L4.64644661,9.64644661 C4.45118446,9.84170876 4.45118446,10.1582912 4.64644661,10.3535534 C4.84170876,10.5488155 5.15829124,10.5488155 5.35355339,10.3535534 Z',
                  }),
                  i.a.createElement('path', {
                    d: 'M14,5.5 C14,5.77614237 14.2238576,6 14.5,6 C14.7761424,6 15,5.77614237 15,5.5 L15,0.5 C15,0.223857625 14.7761424,9.43689571e-16 14.5,8.8817842e-16 L9.5,0 C9.22385763,-4.90527396e-17 9,0.223857625 9,0.5 C9,0.776142375 9.22385763,1 9.5,1 L14,1 L14,5.5 Z',
                  })
                )
              )
            )
          );
      var H = n(552),
        W = n(495),
        q = n(664);
      function U(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class article_card_ArticleCard extends o.Component {
        constructor(...e) {
          super(...e),
            U(this, 'linkRef', null),
            U(this, 'createHandleClick', (e) => (t) => {
              const n = t.ctrlKey || t.shiftKey || t.metaKey,
                r = this.props.openArticleId === e.articleId;
              !e.articleId ||
                (e.url && n) ||
                r ||
                (t.preventDefault(),
                this.props
                  .onArticleCardClick(e.articleId, { comment_id: this.props.part.id, url: e.url })
                  .catch(() => Object(H.b)(e.url)));
            });
        }
        buildAuthor(e) {
          return {
            avatar: { square128: e.avatar },
            name: e.name,
            firstName: e.firstName || e.name,
          };
        }
        renderAuthor(e) {
          return i.a.createElement(
            q.e,
            null,
            i.a.createElement(
              q.f,
              null,
              i.a.createElement(S.a, { author: e, size: this.props.part.isMessage ? 24 : 16 })
            ),
            i.a.createElement(
              q.h,
              null,
              `${Object(C.e)('written_by')} `,
              i.a.createElement(q.g, null, e.name)
            )
          );
        }
        renderLinkCardTitle(e) {
          return i.a.createElement(
            q.l,
            { type: e.linkType },
            'educate.help_center' === e.linkType
              ? i.a.createElement(q.m, null, i.a.createElement(D, null), e.title)
              : e.title
          );
        }
        renderLinkCardFooter(e) {
          return i.a.createElement(
            'div',
            null,
            e.description && i.a.createElement(q.j, null, e.description),
            e.author && e.author.name && this.renderAuthor(this.buildAuthor(e.author))
          );
        }
        renderLinkCards() {
          const {
              part: { body: e },
            } = this.props,
            t = 1 === e.length;
          return e.map((n, r) =>
            i.a.createElement(
              q.b,
              {
                href: n.url,
                isGrouped: 1 !== e.length,
                key: r.toString(),
                onClick: this.createHandleClick(n),
                ref: (e) => (this.linkRef = e),
                rel: 'nofollow noreferrer noopener',
                target: '_blank',
              },
              i.a.createElement(
                q.i,
                null,
                this.renderLinkCardTitle(n),
                t && this.renderLinkCardFooter(n)
              ),
              this.props.openArticleId === n.articleId &&
                i.a.createElement(L, {
                  returnFocus: this.linkRef && this.linkRef.focus.bind(this.linkRef),
                })
            )
          );
        }
        render() {
          const {
            hasAvatar: e,
            isBorderless: t,
            isInline: n,
            part: { isMessage: r, author: a },
          } = this.props;
          return i.a.createElement(
            q.a,
            { isInline: n, isBorderless: t, isMessage: r },
            !r && e && i.a.createElement(q.c, null, i.a.createElement(S.a, { author: a })),
            r && i.a.createElement(q.d, null, Object(C.e)('asked_about')),
            i.a.createElement(q.k, null, this.renderLinkCards())
          );
        }
      }
      U(article_card_ArticleCard, 'contextType', W.a),
        U(article_card_ArticleCard, 'defaultProps', {
          isInline: !1,
          hasAvatar: !0,
          isBorderless: !1,
        });
      var V = Object(c.connect)((e) => {
          var t;
          return { openArticleId: null === (t = Object(I.a)(e)) || void 0 === t ? void 0 : t.id };
        })(article_card_ArticleCard),
        G = n(52),
        $ = n.n(G),
        X = n(556),
        Y = n(21),
        K = n(81),
        Z = n(520),
        J = n(506);
      function Q(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class notification_channels_input_NotificationChannelsInput extends o.Component {
        constructor(...e) {
          super(...e),
            Q(this, 'state', {
              value: this.props.initialValue,
              valueChanged: !1,
              showErrorMessage: !1,
              prevProps: this.props,
            }),
            Q(this, 'handleFocus', (e) => {
              if (Object(s.i)())
                this.focusTimeout = setTimeout(() => {
                  if (!this.node) return;
                  const e = this.node.closest('.intercom-conversation-body-parts');
                  Object(Y.A)(this.node, e);
                }, 1e3);
              else {
                const t = e.target.value;
                (e.target.value = ''), (e.target.value = t);
              }
            }),
            Q(this, 'handleKeyDown', (e) => {
              ((e) => 13 === e.keyCode && !(e.altKey || e.shiftKey))(e) &&
                (this.handleSubmit(), e.preventDefault());
            }),
            Q(this, 'handleKeyUp', () => {
              this.props.onInputChange();
            }),
            Q(this, 'handleSubmitButtonClick', (e) => {
              this.isDisabled() || (e.preventDefault(), this.handleSubmit());
            }),
            Q(this, 'handleSubmit', () => {
              const { value: e } = this.state,
                { isValid: t, onSubmit: n } = this.props;
              t(e)
                ? (n(e),
                  this.notificationChannelsInput.blur(),
                  this.setState({ showErrorMessage: !1 }))
                : this.setState({ showErrorMessage: !0 });
            }),
            Q(this, 'handleInputChange', (e) => {
              const { value: t } = e.target;
              this.setState({ value: t, showErrorMessage: !1 }),
                this.state.valueChanged || this.setState({ valueChanged: this.valueHasChanged() });
            }),
            Q(this, 'handleInputClick', () => {
              this.notificationChannelsInput.focus();
            });
        }
        componentWillUnmount() {
          clearTimeout(this.focusTimeout);
        }
        static getDerivedStateFromProps(e, t) {
          if (!t || $()(e, t.prevProps)) return null;
          const { name: n, isSaving: r, hasExistingChannel: a, initialValue: o } = e,
            i = n === t.prevProps.name ? t.value : o;
          return r || a
            ? { prevProps: e }
            : { value: i, prevProps: e, valueChanged: !1, showErrorMessage: !1 };
        }
        valueHasChanged() {
          return this.state.value !== this.props.initialValue;
        }
        valueIsEmpty() {
          return '' === this.state.value;
        }
        isPhone() {
          return 'phone' === this.props.name;
        }
        shouldShowPlaceholder() {
          return this.state.valueChanged
            ? this.valueIsEmpty()
            : this.valueIsEmpty() || !this.valueHasChanged();
        }
        isDisabled() {
          return this.props.isSaving || this.props.channelProvided;
        }
        getInputType() {
          switch (this.props.name) {
            case 'phone':
              return 'text';
            case 'email':
              return 'email';
            default:
              return 'text';
          }
        }
        getErrorMessage() {
          switch (this.props.name) {
            case 'phone':
              const e = Object(X.c)(this.state.value);
              return e ? Object(C.e)(e) : this.props.errorMessage;
            case 'email':
              return Object(C.e)('that_email_address_doesnt_look_quite_right');
            default:
              return "That value doesn't look quite right";
          }
        }
        showErrorMessage() {
          return this.state.showErrorMessage || this.props.showErrorMessage;
        }
        renderFlag() {
          const e = Object(X.a)(this.state.value),
            t = e ? e.code : this.props.initialCountryCode;
          return i.a.createElement(Z.m, { countryCode: t });
        }
        renderPlaceholder() {
          const { initialValue: e, placeholder: t } = this.props,
            n = this.valueIsEmpty() ? {} : { visibility: 'hidden' };
          return i.a.createElement(
            Z.u,
            { isPhone: this.isPhone() },
            i.a.createElement('span', { style: n }, e),
            t
          );
        }
        render() {
          return i.a.createElement(
            'div',
            {
              onClick: this.handleInputClick,
              ref: (e) => (this.node = e),
              onKeyDown: (e) => (13 === e.keyCode || 32 === e.keyCode) && this.handleInputClick(e),
              role: 'button',
              tabIndex: '0',
            },
            i.a.createElement(
              Z.l,
              null,
              i.a.createElement(
                Z.n,
                {
                  isPhone: this.isPhone(),
                  hasError: this.showErrorMessage(),
                  isSuccessful: !!this.props.channelProvided,
                },
                this.isPhone() ? this.renderFlag() : null,
                this.shouldShowPlaceholder() ? this.renderPlaceholder() : null,
                i.a.createElement('input', {
                  'autoFocus': !0,
                  'ref': (e) => (this.notificationChannelsInput = e),
                  'type': this.getInputType(),
                  'name': 'intercom-channel-collector',
                  'disabled': this.isDisabled(),
                  'value': this.state.value,
                  'autoComplete': 'off',
                  'onFocus': this.handleFocus,
                  'onKeyDown': this.handleKeyDown,
                  'onKeyUp': this.handleKeyUp,
                  'onChange': this.handleInputChange,
                  'onBlur': K.d,
                  'aria-label': this.props.ariaLabel,
                })
              ),
              i.a.createElement(
                Z.p,
                { hasChannel: !!this.props.channelProvided },
                i.a.createElement(
                  Z.o,
                  {
                    'onTouchEnd': this.handleSubmitButtonClick,
                    'onClick': this.handleSubmitButtonClick,
                    'isDisabled': this.isDisabled(),
                    'hasChannel': !!this.props.channelProvided,
                    'aria-label': 'Submit',
                  },
                  i.a.createElement(Z.q, null),
                  i.a.createElement(Z.r, null)
                )
              )
            ),
            this.showErrorMessage() &&
              i.a.createElement(J.a, { errorMessage: this.getErrorMessage() })
          );
        }
      }
      (notification_channels_input_NotificationChannelsInput.defaultProps = {
        initialValue: '',
        isSaving: !1,
        initialCountryCode: 'us',
      }),
        (notification_channels_input_NotificationChannelsInput.propTypes = {
          name: a.a.oneOf(['phone', 'email']).isRequired,
          initialValue: a.a.string,
          placeholder: a.a.string.isRequired,
          showErrorMessage: a.a.bool.isRequired,
          errorMessage: a.a.string,
          ariaLabel: a.a.string,
          initialCountryCode: a.a.string,
          isSaving: a.a.bool,
          channelProvided: a.a.bool.isRequired,
          isValid: a.a.func.isRequired,
          onSubmit: a.a.func.isRequired,
          onInputChange: a.a.func.isRequired,
          hasExistingChannel: a.a.bool,
        });
      var ee = n(590);
      const te = (e, t) => re(e) && !ae(t),
        ne = (e, t) => re(e) && !ae(t),
        re = (e) => 'visitor' === e || 'lead' === e,
        ae = (e) => void 0 === e || '' === e;
      var oe = n(591);
      function ie(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const se = (e) => {
        const { userRole: t, userSuppliedEmail: n, phoneNumber: r } = e,
          a = te(t, n),
          o = ne(t, r);
        return a || o;
      };
      class notification_channels_NotificationChannels extends o.Component {
        constructor(...e) {
          super(...e),
            ie(this, 'state', {
              showEmailCollector: !0,
              showPhoneNumberCollector: !1,
              hasExistingChannel: se(this.props),
              channelProvided: !1,
              prevProps: this.props,
            }),
            ie(this, 'addNotificationChannelMetric', (e, t) => {
              Object(m.e)(e, `notification_channel_${t}`, 'messenger', 'in_conversation', {
                conversation_id: this.props.conversationId,
              });
            }),
            ie(this, 'addNotificationChannelShownMetric', (e) => {
              this.addNotificationChannelMetric('received', e);
            }),
            ie(this, 'addNotificationChannelStartMetric', (e) => {
              this.addNotificationChannelMetric('started', e);
            }),
            ie(this, 'addNotificationChannelCompleteMetric', (e) => {
              this.addNotificationChannelMetric('completed', e);
            }),
            ie(this, 'handleEmailClick', () => {
              this.addNotificationChannelStartMetric('email'),
                this.setState({ showEmailCollector: !0, showPhoneNumberCollector: !1 }),
                this.props.onInputChange();
            }),
            ie(this, 'handleSmsClick', () => {
              this.addNotificationChannelStartMetric('sms'),
                this.setState({ showEmailCollector: !1, showPhoneNumberCollector: !0 }),
                this.props.onInputChange();
            }),
            ie(this, 'handleEmailCollectorSubmit', (e) => {
              this.addNotificationChannelCompleteMetric(this.getEmailCollectorMetricName()),
                this.props.onEmailCollectorSubmit(e);
            }),
            ie(this, 'handlePhoneNumberCollectorSubmit', (e) => {
              this.addNotificationChannelCompleteMetric('sms'),
                this.props.onPhoneNumberCollectorSubmit(e);
            });
        }
        componentDidMount() {
          this.recordMetrics();
        }
        static getDerivedStateFromProps(e, t) {
          if (!t || $()(e, t.prevProps)) return null;
          const n = se(e),
            r = { prevProps: e, hasExistingChannel: n };
          return t.hasExistingChannel || (r.channelProvided = n), r;
        }
        recordMetrics() {
          const { userRole: e, userSuppliedEmail: t, smsEnabled: n } = this.props,
            r = te(e, t);
          n && !this.state.hasExistingChannel
            ? this.recordChannelMetrics()
            : n || r || this.addNotificationChannelShownMetric(this.getEmailCollectorMetricName());
        }
        recordChannelMetrics() {
          const { smsEnabled: e } = this.props;
          this.addNotificationChannelShownMetric('options'),
            this.addNotificationChannelShownMetric('email'),
            e && this.addNotificationChannelShownMetric('sms');
        }
        getEmailCollectorMetricName() {
          return this.props.smsEnabled ? 'email' : 'email_collector';
        }
        existingChannelText() {
          const { userRole: e, userSuppliedEmail: t, phoneNumber: n } = this.props,
            r = ne(e, n);
          return te(e, t)
            ? Object(C.e)('youll_be_notified_here_and_by_email')
            : r
            ? Object(C.e)('youll_be_notified_here_and_by_sms')
            : void 0;
        }
        existingChannelValue() {
          const { userRole: e, userSuppliedEmail: t, phoneNumber: n } = this.props,
            r = ne(e, n);
          return te(e, t) ? t : r ? n : void 0;
        }
        optionSelected() {
          return this.state.showEmailCollector || this.state.showPhoneNumberCollector;
        }
        getTitle() {
          return this.props.smsEnabled
            ? Object(C.e)('get_notified')
            : Object(C.e)('get_notified_by_email');
        }
        renderPhoneNumberCollector() {
          const e = Object(X.b)(this.props.userCountryCode);
          return i.a.createElement(notification_channels_input_NotificationChannelsInput, {
            name: 'phone',
            initialValue: e,
            placeholder: ' 123 456 7890',
            initialCountryCode: this.props.userCountryCode,
            isSaving: this.props.isSaving,
            showErrorMessage: this.props.showErrorMessage,
            errorMessage: this.props.errorMessage,
            channelProvided: this.state.channelProvided,
            isValid: X.d,
            onSubmit: this.handlePhoneNumberCollectorSubmit,
            onInputChange: this.props.onInputChange,
          });
        }
        renderEmailCollector() {
          return i.a.createElement(notification_channels_input_NotificationChannelsInput, {
            name: 'email',
            ariaLabel: 'Enter your email',
            placeholder: ee.a,
            isSaving: this.props.isSaving,
            showErrorMessage: this.props.showErrorMessage,
            errorMessage: this.props.errorMessage,
            channelProvided: this.state.channelProvided,
            isValid: oe.a,
            onSubmit: this.handleEmailCollectorSubmit,
            onInputChange: this.props.onInputChange,
          });
        }
        renderChannelsBody() {
          return this.state.showEmailCollector
            ? this.renderEmailCollector()
            : this.state.showPhoneNumberCollector
            ? this.renderPhoneNumberCollector()
            : void 0;
        }
        renderOption(e, t, n) {
          return i.a.createElement(Z.t, { isSelected: t, onClick: n }, Object(C.e)(e));
        }
        renderEmailOption() {
          return this.renderOption('email', this.state.showEmailCollector, this.handleEmailClick);
        }
        renderSmsOption() {
          return this.renderOption('sms', this.state.showPhoneNumberCollector, this.handleSmsClick);
        }
        renderOptions() {
          return i.a.createElement(
            Z.s,
            null,
            this.renderEmailOption(),
            this.props.smsEnabled ? this.renderSmsOption() : null
          );
        }
        renderChannelOptions() {
          return i.a.createElement(
            'div',
            null,
            i.a.createElement(
              Z.w,
              null,
              i.a.createElement(Z.x, null, this.getTitle()),
              i.a.createElement(Z.y, null, this.existingChannelText())
            ),
            this.props.smsEnabled ? this.renderOptions() : null,
            this.renderChannelsBody()
          );
        }
        renderExistingValue() {
          return i.a.createElement(Z.k, null, this.existingChannelValue());
        }
        renderSuccessMessage() {
          return i.a.createElement(
            'div',
            null,
            i.a.createElement(Z.x, { isSuccessful: !0 }, this.existingChannelText()),
            this.renderExistingValue()
          );
        }
        render() {
          const { isBorderless: e, nextPart: t } = this.props,
            { hasExistingChannel: n, channelProvided: r } = this.state,
            a = !!t,
            o = a && t.author.isAdmin;
          return i.a.createElement(
            Z.v,
            { isBorderless: e, nextPartByAdmin: a && o, lastPart: !a, isSuccessful: n && r },
            n && !r ? this.renderSuccessMessage() : this.renderChannelOptions()
          );
        }
      }
      notification_channels_NotificationChannels.propTypes = {
        conversationId: a.a.string.isRequired,
        userId: a.a.string.isRequired,
        userRole: a.a.oneOf(['user', 'lead', 'visitor']),
        userCountryCode: a.a.string,
        userSuppliedEmail: a.a.string,
        userName: a.a.string,
        phoneNumber: a.a.string,
        isSaving: a.a.bool.isRequired,
        errorMessage: a.a.string,
        showErrorMessage: a.a.bool.isRequired,
        smsEnabled: a.a.bool.isRequired,
        nextPart: a.a.object,
        onEmailCollectorSubmit: a.a.func.isRequired,
        onPhoneNumberCollectorSubmit: a.a.func.isRequired,
        onInputChange: a.a.func.isRequired,
        isBorderless: a.a.bool,
      };
      var le = n(222);
      var ce = Object(c.connect)(
        (e) => {
          const { conversationId: t, smsEnabled: n } = e.app,
            {
              id: r,
              role: a,
              userSuppliedEmail: o,
              name: i,
              phoneNumber: s,
              countryCode: l,
            } = e.user,
            { isSaving: c, showErrorMessage: d, errorMessage: p } = e.notificationChannels;
          return {
            conversationId: t,
            userId: r,
            userRole: a,
            userCountryCode: l,
            userSuppliedEmail: o,
            userName: i,
            phoneNumber: s,
            smsEnabled: n,
            isSaving: c,
            showErrorMessage: d,
            errorMessage: p,
          };
        },
        (e) => ({
          onEmailCollectorSubmit: (t) => {
            e(Object(le.c)(A.b, t));
          },
          onPhoneNumberCollectorSubmit: (t) => {
            e(Object(le.b)(A.b, t));
          },
          onInputChange: () => {
            e(Object(le.a)());
          },
        }),
        (e, t, n) => {
          const r = { onInputChange: () => t.onInputChange() };
          return Object.assign({}, n, e, t, r);
        }
      )(notification_channels_NotificationChannels);
      class notification_channels_card_NotificationChannelsCard extends o.Component {
        renderAdminAvatar() {
          const { isBorderless: e } = this.props;
          return i.a.createElement(
            Z.i,
            { isBorderless: e },
            i.a.createElement(S.a, { author: this.props.part.author, size: 28 })
          );
        }
        render() {
          const { isBorderless: e } = this.props;
          return i.a.createElement(
            Z.j,
            { isBorderless: e },
            this.props.hasAvatar && this.renderAdminAvatar(),
            i.a.createElement(ce, { nextPart: this.props.nextPart, isBorderless: e })
          );
        }
      }
      (notification_channels_card_NotificationChannelsCard.defaultProps = {
        hasAvatar: !0,
        isBorderless: !1,
      }),
        (notification_channels_card_NotificationChannelsCard.propTypes = {
          part: a.a.object.isRequired,
          nextPart: a.a.object,
          hasAvatar: a.a.bool,
          isBorderless: a.a.bool,
        });
      var de = n(547),
        pe = n(499),
        ue = n(463),
        me = n(841),
        he = n.n(me),
        be = n(842),
        ge = n.n(be);
      const fe = Object(R.c)('div', { target: 'e41npek0' })(
          'padding:5px 15px;border-top:1px solid ',
          Object(R.f)('lightGrey8'),
          ';'
        ),
        ve = Object(R.c)('div', { target: 'e41npek1' })(),
        xe = Object(R.c)('div', { target: 'e41npek2' })(
          'position:relative;display:table;width:100%;div{display:table-cell;vertical-align:top;}',
          ve.className,
          '{width:40px;}'
        ),
        ye = Object(R.c)('div', { target: 'e41npek3' })(
          'position:relative;max-width:180px;textarea,pre{box-sizing:border-box;height:100%;width:100%;padding:12px;font-size:14px;font-family:',
          Object(R.f)('fontSansSerif'),
          ';border:none;line-height:19px;white-space:pre-wrap;word-wrap:break-word;}textarea{position:absolute;top:0;left:0;color:',
          Object(R.f)('inputText'),
          ';resize:none;overflow-y:hidden;&::placeholder{color:',
          Object(R.f)('inputPlaceholder'),
          ';font-style:',
          Object(R.f)('fontSansSerif'),
          ';font-size:14px;font-weight:400;line-height:19px;opacity:0.7;}}pre{visibility:hidden;max-height:140px;}'
        ),
        je = Object(R.c)('div', { target: 'e41npek4' })(
          'position:absolute;top:2px;bottom:0;width:40px;height:40px;cursor:pointer;transition:transform 300ms linear,opacity 150ms ease;background-position:center;background-repeat:no-repeat;opacity:0.8;',
          Object(ue.b)(he.a, ge.a, '20px', '20px'),
          ' &:hover{opacity:1;}'
        ),
        Oe = Object(R.c)('div', { target: 'e41npek5' })({
          name: '4b6e0v',
          styles:
            'width:40px;height:40px;border:none;transition:border-radius 300ms,opacity 300ms 600ms,height 400ms 1000ms;',
        });
      function Ce(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_rating_remark_input_ConversationRatingRemarkInput extends o.Component {
        constructor(...e) {
          super(...e),
            Ce(this, 'state', { text: this.props.initialValue }),
            Ce(this, 'handleFocus', (e) => {
              if (Object(s.i)())
                this.focusTimeout = setTimeout(() => {
                  if (!this.node) return;
                  const e = this.node.closest('.intercom-conversation-body-parts');
                  Object(Y.A)(this.node, e);
                }, 1e3);
              else {
                const t = e.target.value;
                (e.target.value = ''), (e.target.value = t);
              }
            }),
            Ce(this, 'handleKeyDown', (e) => {
              ((e) => 13 === e.keyCode && !(e.altKey || e.shiftKey))(e) &&
                (this.handleSubmit(), e.preventDefault());
            }),
            Ce(this, 'handleSubmitButtonClick', (e) => {
              e.preventDefault(), this.handleSubmit();
            }),
            Ce(this, 'handleInputChange', (e) => {
              const { value: t } = e.target;
              this.setState({ text: t }), this.props.onChange();
            });
        }
        componentWillUnmount() {
          clearTimeout(this.focusTimeout);
        }
        handleSubmit() {
          const { text: e } = this.state,
            { onSubmit: t } = this.props;
          t(e), this.conversationRatingInput.blur();
        }
        render() {
          const { text: e } = this.state;
          return i.a.createElement(
            fe,
            { ref: (e) => (this.node = e) },
            i.a.createElement(
              xe,
              null,
              i.a.createElement(
                ye,
                null,
                i.a.createElement('pre', null, e, i.a.createElement('br', null)),
                i.a.createElement('textarea', {
                  'autoFocus': !0,
                  'ref': (e) => (this.conversationRatingInput = e),
                  'type': 'text',
                  'name': 'intercom-conversation-rating-remark',
                  'value': e,
                  'placeholder': this.props.placeholder,
                  'onFocus': this.handleFocus,
                  'onKeyDown': this.handleKeyDown,
                  'onChange': this.handleInputChange,
                  'onBlur': K.d,
                  'aria-label': this.props.placeholder,
                })
              ),
              i.a.createElement(
                ve,
                null,
                i.a.createElement(
                  Oe,
                  {
                    'onTouchEnd': this.handleSubmitButtonClick,
                    'onClick': this.handleSubmitButtonClick,
                    'aria-label': Object(C.e)('submit'),
                  },
                  i.a.createElement(je, null)
                )
              )
            )
          );
        }
      }
      (conversation_rating_remark_input_ConversationRatingRemarkInput.defaultProps = {
        initialValue: '',
      }),
        (conversation_rating_remark_input_ConversationRatingRemarkInput.propTypes = {
          initialValue: a.a.string,
          placeholder: a.a.string.isRequired,
          onSubmit: a.a.func.isRequired,
          onChange: a.a.func.isRequired,
        });
      const we = Object(R.c)('span', { target: 'eksvx640' })(
          '&,&:hover{width:18px;height:18px;display:inline-block;background-size:contain;vertical-align:sub;}',
          ({ images: e }) => Object(ue.b)(e.file, e.file2x, '28px', '28px')
        ),
        Ee = Object(R.c)('span', { target: 'e1bzxtmt0' })(
          'display:inline-block;width:28px;height:28px;',
          ({ images: e }) => Object(ue.b)(e.file, e.file2x, '28px', '28px')
        ),
        ke = Object(R.c)('div', { target: 'e1bzxtmt1' })(
          'margin-top:5px;cursor:pointer;font-size:13px;color:',
          Object(R.f)('subheaderText'),
          ';text-align:center;opacity:0;transition:opacity 0.3s;'
        ),
        Se = Object(R.c)('div', { target: 'e1bzxtmt2' })({
          name: '1baulvz',
          styles: 'display:inline-block;',
        }),
        _e = Object(R.c)('div', { target: 'e1bzxtmt3' })(
          'width:30px;margin:6px 0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;&:hover{',
          ke.className,
          '{opacity:1;}',
          Ee.className,
          '{transform:scale(1.28);filter:none;}}',
          ({ chosen: e }) => e && Object(R.b)(Ee.className, '{transform:scale(1.28);}'),
          ' ',
          ({ otherChosen: e }) =>
            e && Object(R.b)(Ee.className, '{filter:grayscale(1) opacity(0.3);}')
        );
      const Pe = {
        1: {
          emoji: '😠',
          unicode: '1f620',
          tooltipKey: 'terrible',
          images: { file: n(843), file2x: n(844) },
        },
        2: {
          emoji: '🙁',
          unicode: '1f615',
          tooltipKey: 'bad',
          images: { file: n(845), file2x: n(846) },
        },
        3: {
          emoji: '😐',
          unicode: '1f610',
          tooltipKey: 'ok_description',
          images: { file: n(847), file2x: n(848) },
        },
        4: {
          emoji: '😃',
          unicode: '1f603',
          tooltipKey: 'great',
          images: { file: n(849), file2x: n(850) },
        },
        5: {
          emoji: '🤩',
          unicode: '1f929',
          tooltipKey: 'amazing',
          images: { file: n(851), file2x: n(852) },
        },
      };
      class conversation_rating_emoji_ConversationRatingEmoji extends o.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = (e) => {
              e.preventDefault();
              const { ratingIndex: t, onRatingChosen: n } = this.props;
              n(t);
            }),
            (n = 'handleClick') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        getTooltip() {
          const { ratingIndex: e } = this.props;
          return Object(C.e)(Pe[e].tooltipKey);
        }
        renderEmojiImage() {
          return i.a.createElement(Ee, {
            'className': 'intercom-anchor',
            'onClick': this.handleClick,
            'aria-label': this.getTooltip(),
            'images': Pe[this.props.ratingIndex].images,
          });
        }
        render() {
          const e = this.getTooltip();
          return i.a.createElement(
            Se,
            null,
            i.a.createElement(
              _e,
              { chosen: this.props.chosen, otherChosen: this.props.otherChosen },
              this.renderEmojiImage(),
              i.a.createElement(ke, null, e)
            )
          );
        }
      }
      function Te(e) {
        return i.a.createElement(we, {
          'role': 'img',
          'images': Pe[e.ratingIndex].images,
          'aria-label': Pe[e.ratingIndex].tooltipKey,
        });
      }
      conversation_rating_emoji_ConversationRatingEmoji.propTypes = {
        ratingIndex: a.a.number.isRequired,
        chosen: a.a.bool,
        otherChosen: a.a.bool,
        onRatingChosen: a.a.func.isRequired,
      };
      var Be = n(467),
        Ne = n(665);
      function Ae(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_rating_ConversationRating extends o.Component {
        constructor(...e) {
          super(...e),
            Ae(this, 'state', {}),
            Ae(this, 'handleRemarkChange', () => {
              this.scrollConversationParts();
            }),
            Ae(this, 'handleHeightChange', ({ height: e }) => {
              this.setState({ height: e });
            });
        }
        componentDidUpdate(e) {
          this.hasChosenFirstRating(e) && this.scrollConversationParts();
        }
        hasChosenFirstRating(e) {
          const t = e.chosenRating,
            { chosenRating: n } = this.props;
          return void 0 === t && void 0 !== n;
        }
        scrollConversationParts() {
          if (void 0 !== this.props.nextPart || !this.node) return;
          const e = this.node.closest('.intercom-conversation-body-parts');
          e && Object(Y.z)(e);
        }
        hasRating() {
          const { chosenRating: e } = this.props;
          return e > 0;
        }
        shouldShowThanks() {
          const { submitted: e } = this.props;
          return this.hasRemark() || e;
        }
        hasRemark() {
          const { remark: e } = this.props;
          return void 0 !== e && '' !== e;
        }
        isChosen(e) {
          return this.props.chosenRating === e;
        }
        isOtherChosen(e) {
          return this.hasRating() && !this.isChosen(e);
        }
        renderThanksMessage() {
          return i.a.createElement(
            'div',
            { key: 'conversation-rating-thanks' },
            i.a.createElement(
              Ne.f,
              null,
              i.a.createElement(
                Ne.a,
                null,
                Object(C.e)('you_rated_the_conversation'),
                ' ',
                i.a.createElement(Te, { ratingIndex: this.props.chosenRating })
              ),
              i.a.createElement(Ne.e, null, Object(C.e)('thanks_for_letting_us_know'))
            ),
            this.hasRemark() && this.renderRemark()
          );
        }
        renderRemark() {
          return i.a.createElement(Ne.g, null, this.props.remark);
        }
        renderRatingForm() {
          return i.a.createElement(
            'div',
            { key: 'form' },
            this.renderRatingOptions(),
            i.a.createElement(
              pe.a,
              { duration: 500 },
              this.hasRating() ? this.renderRemarkInput() : null
            )
          );
        }
        renderRatingOptions() {
          const e = [];
          for (let t = 1; t <= 5; t++)
            e.push(
              i.a.createElement(conversation_rating_emoji_ConversationRatingEmoji, {
                key: t,
                ratingIndex: t,
                chosen: this.isChosen(t),
                otherChosen: this.isOtherChosen(t),
                onRatingChosen: this.props.onRatingChosen,
              })
            );
          return i.a.createElement(
            Ne.c,
            null,
            i.a.createElement(
              Ne.i,
              null,
              i.a.createElement(Ne.h, null, Object(C.e)('rate_your_conversation'))
            ),
            i.a.createElement(Ne.b, null, e)
          );
        }
        renderRemarkInput() {
          return i.a.createElement(conversation_rating_remark_input_ConversationRatingRemarkInput, {
            placeholder: Object(C.e)('tell_us_more'),
            onChange: this.handleRemarkChange,
            onSubmit: this.props.onRemarkSubmit,
          });
        }
        render() {
          return i.a.createElement(
            Ne.d,
            { ref: (e) => (this.node = e), height: this.state.height },
            i.a.createElement(
              Be.b,
              { onChange: this.handleHeightChange },
              i.a.createElement(
                'div',
                null,
                i.a.createElement(
                  de.a,
                  { appearDelay: 300 },
                  this.shouldShowThanks() ? this.renderThanksMessage() : this.renderRatingForm()
                )
              )
            )
          );
        }
      }
      conversation_rating_ConversationRating.propTypes = {
        chosenRating: a.a.number,
        remark: a.a.string,
        submitted: a.a.bool,
        nextPart: a.a.object,
        part: a.a.object,
        onRemarkSubmit: a.a.func.isRequired,
        onRatingChosen: a.a.func.isRequired,
      };
      var Me = n(0);
      function Ie(e, t, n) {
        return (r, a) => {
          r(ze(t, n));
          const { session: o } = a();
          return e.changeConversationRatingIndex(o, t, n);
        };
      }
      function ze(e, t) {
        return { type: Me.k, conversationId: e, ratingIndex: t };
      }
      function Le(e, t, n) {
        return (r, a) => {
          if ((r(Re(t, n)), void 0 === n || '' === n)) return Promise.resolve();
          const { session: o } = a();
          return e.addConversationRatingRemark(o, t, n);
        };
      }
      function Re(e, t) {
        return { type: Me.c, conversationId: e, remark: t };
      }
      var Fe = Object(c.connect)(
          (e) => {
            const { conversationId: t } = e.app;
            return { conversationId: t };
          },
          (e) => ({
            onRemarkSubmit: (t, n) => {
              e(Le(A.b, t, n));
            },
            onRatingChosen: (t, n) => {
              e(Ie(A.b, t, n));
            },
          }),
          (e, t, n) => {
            const { conversationId: r } = e,
              { chosenRating: a, remark: o, submitted: i } = n.part.conversationRating,
              s = {
                onRemarkSubmit: (e) => t.onRemarkSubmit(r, e),
                onRatingChosen: (e) => t.onRatingChosen(r, e),
                chosenRating: a,
                remark: o,
                submitted: i,
              };
            return Object.assign({}, n, e, t, s);
          }
        )(conversation_rating_ConversationRating),
        De = n(666);
      class conversation_rating_card_ConversationRatingCard extends o.Component {
        render() {
          const { isBorderless: e } = this.props;
          return i.a.createElement(
            De.b,
            { isBorderless: e },
            this.props.hasAvatar &&
              i.a.createElement(
                De.a,
                { isBorderless: e },
                i.a.createElement(S.a, { author: this.props.part.author })
              ),
            i.a.createElement(Fe, { nextPart: this.props.nextPart, part: this.props.part })
          );
        }
      }
      (conversation_rating_card_ConversationRatingCard.defaultProps = {
        hasAvatar: !0,
        isBorderless: !1,
      }),
        (conversation_rating_card_ConversationRatingCard.propTypes = {
          part: a.a.object.isRequired,
          nextPart: a.a.object,
          hasAvatar: a.a.bool,
          isBorderless: a.a.bool,
        });
      var He = n(667),
        We = n(480);
      class conversation_pointer_card_PointerCard extends o.Component {
        render() {
          const { part: e, appName: t, frameWindow: n } = this.props,
            { author: r, body: a } = e;
          return i.a.createElement(
            We.e,
            { className: 'intercom-pointer', isInbox: !0 },
            i.a.createElement(
              p.a,
              { appName: t, isReplyStyle: !1, author: r },
              i.a.createElement(
                We.a,
                { className: 'intercom-pointer-body' },
                i.a.createElement(u.a, { blocks: a, frameWindow: n }),
                i.a.createElement(He.e, { isInsideInbox: !0 })
              )
            )
          );
        }
      }
      conversation_pointer_card_PointerCard.propTypes = {
        part: a.a.shape({
          id: a.a.string,
          author: a.a.object.isRequired,
          body: a.a.array.isRequired,
        }).isRequired,
        appName: a.a.string,
        frameWindow: a.a.object,
      };
      var qe = n(690),
        Ue = n(555),
        Ve = n(598),
        Ge = n(488),
        $e = n.n(Ge);
      function Xe(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class notification_channel_collector_card_controls_NotificationChannelCollectorCardControls extends o.PureComponent {
        constructor(...e) {
          super(...e),
            Xe(this, 'handleEmailChannelClick', (e) => {
              e.preventDefault(), this.props.onChannelChange('email');
            }),
            Xe(this, 'handlePhoneNumberChannelClick', (e) => {
              e.preventDefault(), this.props.onChannelChange('phone');
            }),
            Xe(this, 'isSaved', () => {
              const { isEmailSaved: e, isPhoneNumberSaved: t } = this.props;
              return e || t;
            }),
            Xe(this, 'isSelected', (e) => e === this.props.channel);
        }
        getClassName() {
          return $e()({
            'intercom-notification-channel-collector-card-controls': !0,
            'intercom-notification-channel-collector-card-controls-saved': this.isSaved(),
          });
        }
        getChannelClassName(e) {
          return $e()({
            'intercom-anchor': !0,
            'intercom-notification-channel-collector-card-controls-channel': !0,
            'intercom-notification-channel-collector-card-controls-channel-selected':
              this.isSelected(e),
          });
        }
        renderChannels() {
          return i.a.createElement(
            Z.d,
            { className: 'intercom-notification-channel-collector-card-controls-channels' },
            i.a.createElement(
              Z.c,
              {
                isSelected: this.isSelected('email'),
                className: this.getChannelClassName('email'),
                onClick: this.handleEmailChannelClick,
              },
              Object(C.e)('email')
            ),
            i.a.createElement(
              Z.c,
              {
                isSelected: this.isSelected('phone'),
                className: this.getChannelClassName('phone'),
                onClick: this.handlePhoneNumberChannelClick,
              },
              Object(C.e)('sms')
            )
          );
        }
        renderPrompt() {
          return i.a.createElement(
            Z.f,
            { className: 'intercom-notification-channel-collector-card-controls-prompt' },
            this.props.isPhoneNumberEnabled
              ? Object(C.e)('get_notified')
              : Object(C.e)('get_notified_by_email')
          );
        }
        renderMessage() {
          return i.a.createElement(
            Z.e,
            { className: 'intercom-notification-channel-collector-card-controls-message' },
            this.props.isEmailSaved
              ? Object(C.e)('youll_be_notified_here_and_by_email')
              : Object(C.e)('youll_be_notified_here_and_by_sms')
          );
        }
        render() {
          return i.a.createElement(
            Z.g,
            { isSaved: this.isSaved(), className: this.getClassName() },
            this.renderMessage(),
            this.renderPrompt(),
            this.props.isPhoneNumberEnabled ? this.renderChannels() : null
          );
        }
      }
      var Ye = n(592),
        Ke = n(694);
      function Ze(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class notification_channel_collector_card_NotificationChannelCollectorCard extends o.PureComponent {
        constructor(...e) {
          super(...e),
            Ze(this, 'state', {
              channel: 'saved' === this.props.phoneNumberSaveState ? 'phone' : 'email',
              prevProps: this.props,
            }),
            Ze(this, 'handleChannelChange', (e) => {
              this.setState({ channel: e });
            });
        }
        componentDidMount() {
          const { part: e, conversationId: t } = this.props,
            { form: n } = e;
          n &&
            n.attributes.forEach(({ identifier: r }) => {
              Object(m.e)('received', 'operator_reply', 'messenger', 'in_conversation', {
                type: 'automated_lead_qualification',
                conversation_id: t,
                part_id: e.id,
                attribute_identifier: r,
                attribute_type: r,
                form_type: n.type,
                attribute_is_custom_data: !1,
              });
            });
        }
        static getDerivedStateFromProps(e, t) {
          if (!t || $()(e, t.prevProps)) return null;
          let n;
          return (
            'saved' === e.emailSaveState
              ? (n = 'email')
              : 'saved' === e.phoneNumberSaveState && (n = 'phone'),
            n ? { channel: n, prevProps: e } : { prevProps: e }
          );
        }
        renderAvatar() {
          return i.a.createElement(
            Z.a,
            null,
            i.a.createElement(S.a, { author: this.props.part.author })
          );
        }
        renderControls() {
          const {
              emailSaveState: e,
              phoneNumberSaveState: t,
              isPhoneNumberEnabled: n,
            } = this.props,
            r = 'saved' === e,
            a = 'saved' === t;
          return i.a.createElement(
            notification_channel_collector_card_controls_NotificationChannelCollectorCardControls,
            {
              channel: this.state.channel,
              isEmailSaved: r,
              isPhoneNumberSaved: a,
              isPhoneNumberEnabled: n,
              onChannelChange: this.handleChannelChange,
            }
          );
        }
        renderAttribute() {
          const {
            disabled: e,
            email: t,
            phoneNumber: n,
            emailSaveState: r,
            phoneNumberSaveState: a,
            defaultCountryCode: o,
            onEmailSubmit: s,
            onPhoneNumberSubmit: l,
          } = this.props;
          return 'email' === this.state.channel
            ? i.a.createElement(Ye.a, {
                disabled: e,
                value: t,
                saveState: r,
                isBorderless: !1,
                isReplyType: !1,
                isNotificationChannel: !0,
                onSubmit: s,
              })
            : i.a.createElement(Ke.a, {
                disabled: e,
                value: n,
                key: n,
                saveState: a,
                defaultCountryCode: o,
                isBorderless: !1,
                isReplyType: !1,
                isNotificationChannel: !0,
                onSubmit: l,
              });
        }
        isSaved() {
          const { emailSaveState: e, phoneNumberSaveState: t } = this.props;
          return 'saved' === e || 'saved' === t;
        }
        render() {
          const { isBorderless: e } = this.props;
          return i.a.createElement(
            Z.h,
            null,
            this.props.hasAvatar ? this.renderAvatar() : null,
            i.a.createElement(
              Z.b,
              { isBorderless: e },
              this.renderControls(),
              this.renderAttribute()
            )
          );
        }
      }
      var Je = n(6);
      const Qe = (e, t) => e.attributes.find((e) => e.identifier === t);
      var et = Object(c.connect)(
        (e, t) => {
          const { part: n } = t,
            { id: r, form: a } = n,
            o = e.user.countryCode || 'us',
            { conversationId: i } = e.app,
            s = Qe(a, 'email'),
            l = Qe(a, 'phone'),
            c = void 0 !== l,
            { value: d, saveState: p } = s;
          let u, m;
          return (
            c && ((u = l.value), (m = l.saveState)),
            {
              conversationId: i,
              partId: r,
              email: d,
              phoneNumber: u,
              emailSaveState: p,
              phoneNumberSaveState: m,
              isPhoneNumberEnabled: c,
              defaultCountryCode: o,
            }
          );
        },
        (e) => ({
          onAttributeSubmit(t, n, r, a, o) {
            const i = r;
            e(Object(Je.s)(A.b, t, n, r, a, i, o, !1));
          },
        }),
        (e, t, n) =>
          Object.assign({}, e, t, n, {
            onEmailSubmit(r) {
              t.onAttributeSubmit(e.conversationId, e.partId, 'email', r, n.part.form.type);
            },
            onPhoneNumberSubmit(r) {
              t.onAttributeSubmit(e.conversationId, e.partId, 'phone', r, n.part.form.type);
            },
          })
      )(notification_channel_collector_card_NotificationChannelCollectorCard);
      class attribute_collector_AttributeCollector extends o.PureComponent {
        renderCollectorCard() {
          const {
              conversation: e,
              part: t,
              hasAvatar: n,
              isBorderless: r,
              frameWindow: a,
            } = this.props,
            { form: o } = t,
            s = e.preventEndUserReplies;
          return o && 'notification_channel' === o.type
            ? i.a.createElement(et, { disabled: s, part: t, hasAvatar: n, isBorderless: r })
            : o && 'upfront_collection' === o.type
            ? i.a.createElement(Ve.a, {
                disabled: s,
                part: t,
                hasAvatar: n,
                isBorderless: r,
                hideNumbering: !0,
                frameWindow: a,
                key: JSON.stringify(t),
              })
            : i.a.createElement(Ve.a, {
                disabled: s,
                part: t,
                hasAvatar: n,
                isBorderless: r,
                frameWindow: a,
                key: JSON.stringify(t),
              });
        }
        render() {
          return i.a.createElement(
            'div',
            { className: 'intercom-attribute-collector' },
            this.renderCollectorCard()
          );
        }
      }
      var tt = n(44);
      var nt = Object(c.connect)((e) => ({ conversation: Object(tt.b)(e) }))(
          attribute_collector_AttributeCollector
        ),
        rt = n(507);
      const at = Object(R.c)('div', { target: 'e1bdvrzl0' })(
          'max-width:100%;font-size:14px;vertical-align:middle;line-height:14px;position:relative;',
          rt.b.className,
          '{bottom:-17px;left:45px;}'
        ),
        ot = Object(R.c)('div', { target: 'e1bdvrzl1' })({
          name: 'cz1ym2',
          styles: 'width:30px;display:inline-block;vertical-align:middle;',
        }),
        it = Object(R.c)('div', { target: 'e1bdvrzl2' })(
          'color:',
          Object(R.f)('participantText'),
          ';overflow-wrap:break-word;word-break:break-word;'
        ),
        st = Object(R.c)('div', { target: 'e1bdvrzl3' })({
          name: 'jc7l0f',
          styles:
            'display:inline-block;vertical-align:middle;padding:3px 0;margin-left:15px;max-width:calc(100% - 45px);color:#78909c;line-height:1.3;position:relative;',
        });
      var lt = n(558);
      class participant_event_ParticipantEvent extends o.Component {
        renderAvatar() {
          return i.a.createElement(
            ot,
            null,
            i.a.createElement(S.a, { author: this.props.part.eventData.participant })
          );
        }
        renderText() {
          const { createdAt: e } = this.props.part;
          return i.a.createElement(lt.a, { content: e && Object(_.a)(e) }, (e, t) =>
            i.a.createElement(st, t, i.a.createElement(it, null, this.partTypeText()), e)
          );
        }
        partTypeText() {
          return this.props.part.eventData.eventAsPlainText;
        }
        renderTimestamp() {
          const { createdAt: e } = this.props.part;
          return i.a.createElement(rt.b, null, Object(_.a)(e));
        }
        render() {
          return i.a.createElement(
            at,
            null,
            this.renderAvatar(),
            this.renderText(),
            this.renderTimestamp()
          );
        }
      }
      participant_event_ParticipantEvent.propTypes = {
        part: a.a.shape({
          eventData: a.a.shape({
            participant: a.a.shape({
              initial: a.a.string.isRequired,
              label: a.a.string.isRequired,
              type: a.a.string.isRequired,
              avatar: a.a.object.isRequired,
            }).isRequired,
            eventAsPlainText: a.a.string.isRequired,
          }).isRequired,
          partType: a.a.string.isRequired,
          createdAt: a.a.instanceOf(Date),
        }),
      };
      var ct = n(510),
        dt = n(104),
        pt = n(156),
        ut = n(668);
      function mt(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_part_ConversationPart extends o.PureComponent {
        constructor(...e) {
          super(...e),
            mt(this, 'handleClick', (e) => {
              if ((this.handleLinkClick(e), !this.isFailedPart())) return;
              const { part: t, onRetry: n } = this.props;
              n(t);
            }),
            mt(this, 'addLinkClickedMetric', (e, t, n) => {
              Object(m.e)('clicked', 'link', 'messenger', 'in_conversation', {
                conversation_id: e,
                [t.isMessage ? 'message_id' : 'comment_id']: t.id,
                url: n,
                partType: t.messageType,
              });
            });
        }
        handleLinkClick(e) {
          const t = e.target;
          if ('a' !== t.tagName.toLowerCase()) return;
          const n = t.getAttribute('href'),
            { conversationId: r, part: a } = this.props;
          n && this.addLinkClickedMetric(r, a, n);
        }
        isFailedPart() {
          return 'failed' === this.props.part.saveState;
        }
        isRichContentType() {
          const { part: e } = this.props;
          return !!e.body && Object(ct.a)(e.body);
        }
        shouldShowMetadata() {
          const { partHasMetadata: e, isBorderless: t } = this.props;
          return e && !t;
        }
        shouldShowInlineMetadata() {
          const { partHasMetadata: e, isBorderless: t } = this.props;
          return e && t && !this.isRichContentType();
        }
        renderComment() {
          return Object(dt.a)(this.props.part.partType)
            ? this.renderEvent()
            : this.renderCommentContainer();
        }
        renderEvent() {
          const { part: e } = this.props;
          return this.props.isBorderless
            ? null
            : 'participant_added' === e.partType ||
              'participant_removed' === e.partType ||
              'temporary_expectations' === e.partType
            ? i.a.createElement(participant_event_ParticipantEvent, { part: e })
            : void 0;
        }
        renderCommentContainer() {
          const {
            isLastPart: e,
            part: t,
            hasAvatar: n,
            isBorderless: r,
            isMobile: a,
            frameWindow: o,
            onImageClick: s,
          } = this.props;
          return i.a.createElement(qe.a, {
            isLastPart: e,
            part: t,
            hasAvatar: n,
            isBorderless: r,
            isMobile: a,
            frameWindow: o,
            showInlineMetadata: this.shouldShowInlineMetadata(),
            onImageClick: s,
          });
        }
        renderChatCardGroup() {
          const {
            appName: e,
            part: t,
            hasAvatar: n,
            isBorderless: r,
            isMobile: a,
            frameWindow: o,
          } = this.props;
          return i.a.createElement(x.a, {
            appName: e,
            part: t,
            hasAvatar: n,
            isBorderless: r,
            isMobile: a,
            showInlineMetadata: this.shouldShowInlineMetadata(),
            frameWindow: o,
          });
        }
        renderConversationPart() {
          const {
            appName: e,
            part: t,
            nextPart: n,
            hasAvatar: r,
            reactionsReply: a,
            onArticleCardClick: o,
            conversationId: s,
            onReactionSelect: l,
            isBorderless: c,
            isMobile: d,
            frameWindow: p,
          } = this.props;
          switch (t.messageType) {
            case 'post':
              return i.a.createElement(f, {
                appName: e,
                conversationId: s,
                part: t,
                reactionsReply: a,
                onReactionSelect: l,
                frameWindow: p,
                isBorderless: c,
              });
            case 'note':
              return i.a.createElement(note_card_NoteCard, { appName: e, part: t, frameWindow: p });
            case 'link':
              return i.a.createElement(V, {
                appName: e,
                part: t,
                hasAvatar: r,
                isBorderless: c,
                onArticleCardClick: o,
              });
            case 'notificationChannels':
              return i.a.createElement(notification_channels_card_NotificationChannelsCard, {
                part: t,
                nextPart: n,
                hasAvatar: r,
                isBorderless: c,
              });
            case 'conversationRating':
              return d
                ? this.renderComment()
                : i.a.createElement(conversation_rating_card_ConversationRatingCard, {
                    part: t,
                    nextPart: n,
                    hasAvatar: r,
                    isBorderless: c,
                  });
            case 'attributeCollector':
              return i.a.createElement(nt, {
                part: t,
                hasAvatar: r,
                isBorderless: c,
                frameWindow: p,
              });
            case 'video':
            case 'chat':
            case 'adminReply':
              return c ? this.renderChatCardGroup() : this.renderComment();
            case 'pointer':
              return i.a.createElement(conversation_pointer_card_PointerCard, {
                appName: e,
                part: t,
                frameWindow: p,
              });
            default:
              return this.renderComment();
          }
        }
        renderMetadata() {
          return i.a.createElement(
            l.TransitionGroup,
            null,
            this.shouldShowMetadata()
              ? i.a.createElement(
                  l.CSSTransition,
                  { classNames: 'intercom-conversation-part-metadata', timeout: 300 },
                  i.a.createElement(Ue.a, { part: this.props.part })
                )
              : null
          );
        }
        renderReplyType() {
          const { part: e, isBorderless: t, frameWindow: n } = this.props;
          switch (e.replyType) {
            case 'attribute_collector':
              return i.a.createElement(Ve.a, {
                part: e,
                hasAvatar: !1,
                isBorderless: t,
                isReplyType: !0,
                frameWindow: n,
                key: Object(pt.a)(JSON.stringify(e)),
              });
          }
        }
        render() {
          const {
            setPartRef: e,
            isBorderless: t,
            grouped: n,
            nextPart: r,
            conversationHasScrolled: a,
            part: {
              author: { isAdmin: o, isSelf: s },
            },
          } = this.props;
          return i.a.createElement(
            ut.a,
            {
              'onClick': this.handleClick,
              'aria-label': this.isFailedPart() ? Object(C.e)('failed_message') : void 0,
              'role': this.isFailedPart() ? 'button' : void 0,
              'tabIndex': this.isFailedPart() ? '0' : '-1',
              'ref': (t) => e && e(t, this.props.part),
              'isAdmin': o,
              'isSelf': s,
              'isBorderless': t,
              'grouped': n,
              'isLastPart': !r,
              'isFailedPart': this.isFailedPart(),
              'conversationHasScrolled': a,
            },
            this.renderConversationPart(),
            this.renderReplyType(),
            this.renderMetadata()
          );
        }
      }
      mt(conversation_part_ConversationPart, 'defaultProps', {
        isBorderless: !1,
        isMobile: !1,
        conversationId: '',
      });
      var ht = n(526),
        bt = n(500);
      const gt = Object(R.d)(
          '0%,30%,100%{transform:translateY(0);}15%{transform:translateY(-2px);}'
        ),
        ft = Object(R.d)('from{opacity:0;height:53px;}to{opacity:0;height:0;}'),
        vt = Object(R.d)('from{opacity:0;transform:scale(0.9);}to{opacity:1;transform:scale(1);}'),
        xt = Object(R.d)(
          '0%{opacity:0;transform:scale(0.6);}50%{opacity:0;transform:scale(0.6);}100%{opacity:1;transform:scale(1);}'
        );
      var yt = { name: '1pso57o', styles: 'padding-left:95px;' };
      const jt = Object(R.c)('div', { target: 'e1vgp1r10' })(
        'position:relative;padding-left:45px;padding-bottom:24px;',
        ({ theme: e, isBorderless: t }) =>
          t &&
          Object(R.b)(
            'padding-left:45px;padding-bottom:0;padding-top:10px;position:static;',
            Ct.className,
            '{position:absolute;bottom:0;left:0;box-shadow:',
            e.notificationBoxShadow,
            ';border-radius:100%;}',
            wt.className,
            '{background:',
            e.white,
            ';box-shadow:',
            e.notificationBoxShadow,
            ';border-bottom-left-radius:0;}',
            wt.className,
            ':after{',
            ue.g,
            ';}'
          ),
        ' ',
        ({ theme: e, isBorderless: t }) => t && e.isLeftAlign && yt,
        ' &.intercom-conversation-part-enter-active{transition:transform 100ms;}&.intercom-conversation-part-exit-active{animation:',
        ft,
        ' 300ms 300ms ease-in;}'
      );
      var Ot = { name: '10gc2pc', styles: 'left:45px;' };
      const Ct = Object(R.c)('div', { target: 'e1vgp1r11' })(
          'position:absolute;left:0;bottom:34px;',
          ({ theme: e, isBorderless: t }) => t && e.isLeftAlign && Ot,
          ' ',
          jt.className,
          '.intercom-conversation-part-enter &{animation:',
          vt,
          ' 100ms ease-in;}',
          jt.className,
          '.intercom-conversation-part-exit-active &{animation:',
          vt,
          ' 100ms 200ms ease-in reverse;}'
        ),
        wt = Object(R.c)('div', { target: 'e1vgp1r12' })(
          'height:53px;width:66px;padding:0;background:',
          Object(R.f)('adminCommentBackground'),
          ';border-radius:4px;position:relative;transform-origin:bottom left;',
          jt.className,
          '.intercom-conversation-part-enter &{animation:',
          xt,
          ' 300ms ease-in;}',
          jt.className,
          '.intercom-conversation-part-exit-active &{animation:',
          xt,
          ' 300ms ease-in reverse;}'
        ),
        Et = Object(R.c)('div', { target: 'e1vgp1r13' })(
          'width:6px;height:6px;border-radius:100%;background-color:',
          Object(R.f)('metaText'),
          ';position:absolute;top:24px;animation:',
          gt,
          ' 1s infinite ease-in;&:first-of-type{left:20px;}&:nth-of-type(2){left:30px;animation-delay:0.15s;}&:nth-of-type(3){left:40px;animation-delay:0.3s;}'
        );
      class typing_admin_TypingAdmin extends o.Component {
        render() {
          const { admin: e, isBorderless: t } = this.props;
          return i.a.createElement(
            jt,
            { isBorderless: t },
            i.a.createElement(Ct, { isBorderless: t }, i.a.createElement(bt.a, { admin: e })),
            i.a.createElement(
              wt,
              null,
              i.a.createElement(Et, null),
              i.a.createElement(Et, null),
              i.a.createElement(Et, null),
              i.a.createElement(ht.b, null, Object(C.e)('typing'))
            )
          );
        }
      }
      typing_admin_TypingAdmin.propTypes = {
        admin: a.a.shape({ firstName: a.a.string.isRequired }),
        isBorderless: a.a.bool,
      };
      var kt = n(508),
        St = n(18),
        _t = n(669),
        Pt = n(670),
        Tt = n(593),
        Bt = n(855),
        Nt = n.n(Bt);
      function At(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'a', function () {
        return conversation_parts_ConversationParts;
      });
      class conversation_parts_ConversationParts extends o.Component {
        constructor(...e) {
          super(...e),
            At(this, 'state', { delta: 0 }),
            At(this, 'handleHeightChange', () => {
              this.parts &&
                this.setState({ height: this.parts.clientHeight }, () => {
                  const { onHeightChange: e } = this.props;
                  e && e(this.state.height);
                });
            }),
            At(this, 'setParts', (e) => {
              this.parts = e;
            });
        }
        componentDidMount() {
          this.handleHeightChange(),
            this.context &&
              this.context.subscribe &&
              this.context.subscribe('onPartsHeightChange', this.handleHeightChange);
        }
        componentDidUpdate(e) {
          this.handlePartsChange(
            this.props.conversation.parts.length !== e.conversation.parts.length
          );
        }
        componentWillUnmount() {
          this.stopCheckingIfAdminIsTyping();
        }
        handlePartsChange(e) {
          const t = this.parts.clientHeight,
            { maxHeight: n, isBorderless: r, onHeightChange: a } = this.props,
            o = Math.min(t - n, t - this.state.height),
            i = e && t > n ? o : 0;
          (t === this.state.height && i === this.state.delta) ||
            this.setState({ height: t, delta: i }, () => {
              (r || e) && a && a(this.state.height);
            });
        }
        isScrolling() {
          const { scrolledToBottom: e, conversation: t } = this.props;
          return !(Object(_t.h)(t) && !e) && this.state.delta > 0;
        }
        getStyle() {
          const e = `translateY(${this.state.delta}px)`;
          return { WebkitTransform: e, msTransform: e, transform: e };
        }
        getPartKey(e) {
          return e.isMessage ? 'message' : `part-${Object(_t.c)(e)}`;
        }
        getDividerKey(e) {
          return `divider-${Object(_t.c)(e)}`;
        }
        conversationHasScrolled() {
          return this.state.height >= this.props.maxHeight;
        }
        renderDateDivider(e) {
          return i.a.createElement(
            l.CSSTransition,
            { classNames: 'dummy', key: this.getDividerKey(e), timeout: { enter: 0, exit: 0 } },
            i.a.createElement(
              Pt.c,
              { key: this.getDividerKey(e) },
              Object(_t.b)(e.sentAt || e.createdAt)
            )
          );
        }
        renderPart(e, t, n, r) {
          const {
              appName: a,
              conversation: o,
              isBorderless: c,
              isMobile: d,
              onReactionSelect: p,
              onRetry: u,
              onArticleCardClick: m,
              onImageClick: h,
              frameWindow: b,
              setPartRef: g,
            } = this.props,
            { lastTypingAdmin: f } = o,
            v = Object(_t.e)(e, t),
            x = Object(_t.h)(o),
            y = Object(_t.f)(e, t, c, x, f),
            { reactionsReply: j } = Object(St.a)(r),
            O = Object(s.j)() && 'attribute_collector' === e.partType,
            C = O ? 'dummy' : 'intercom-conversation-part',
            w = O ? { enter: 0, exit: 0 } : { enter: 3200, exit: 600 };
          return i.a.createElement(
            l.CSSTransition,
            { classNames: C, key: n, timeout: w },
            i.a.createElement(
              Tt.a,
              {
                errorText: 'Something went wrong loading this message',
                align: 'center',
                style: { margin: '10px 0 20px' },
              },
              i.a.createElement(conversation_part_ConversationPart, {
                key: this.getPartKey(e),
                part: e,
                setPartRef: g,
                nextPart: t,
                appName: a,
                conversationId: o.id,
                reactionsReply: j,
                onReactionSelect: p,
                onRetry: u,
                adminIsTyping: x,
                hasAvatar: y,
                grouped: v,
                isLastPart: void 0 === t,
                partHasMetadata: Object(_t.g)(e, r, x),
                isBorderless: c,
                isMobile: d,
                frameWindow: b,
                onArticleCardClick: m,
                onImageClick: h,
                conversationHasScrolled: this.conversationHasScrolled(),
              })
            )
          );
        }
        fakeTemporaryExpectationsPart(e) {
          const t = {
            avatar: { square128: Nt.a },
            initial: 'i',
            label: 'Information',
            type: 'admin',
          };
          return {
            author: t,
            createdAt: new Date(),
            partType: 'temporary_expectations',
            eventData: { participant: t, eventAsPlainText: e },
            showCreatedAt: !1,
          };
        }
        renderParts() {
          const { conversation: e, isBorderless: t, temporaryExpectationsMessage: n } = this.props;
          let r = e.parts.filter((e) => void 0 !== e && !Object(_t.d)(e));
          n && (r = [this.fakeTemporaryExpectationsPart(n), ...r]);
          const a = [];
          return (
            r.length > 0 && !t && Object(_t.j)(r) && a.push(this.renderDateDivider(r[0])),
            r.forEach((e, n) => {
              const o = r[n - 1],
                i = r[n + 1];
              !t && Object(_t.i)(o, e) && a.push(this.renderDateDivider(e)),
                a.push(this.renderPart(e, i, n, r));
            }),
            a
          );
        }
        checkIfAdminIsStillTyping() {
          this.isTypingInterval ||
            (this.isTypingInterval = setInterval(() => this.forceUpdate(), 1e3));
        }
        stopCheckingIfAdminIsTyping() {
          clearInterval(this.isTypingInterval), (this.isTypingInterval = void 0);
        }
        renderTypingAdmin() {
          const { lastTypingAdmin: e } = this.props.conversation;
          return i.a.createElement(
            l.CSSTransition,
            {
              classNames: 'intercom-conversation-part',
              key: 'typing-admin',
              timeout: { enter: 3200, exit: 600 },
              exit: this.enableTypingLeaveAnimation(),
            },
            i.a.createElement(typing_admin_TypingAdmin, {
              admin: e,
              isBorderless: this.props.isBorderless,
            })
          );
        }
        shouldRenderTypingAdmin() {
          return Object(_t.h)(this.props.conversation)
            ? (this.checkIfAdminIsStillTyping(), !0)
            : (this.stopCheckingIfAdminIsTyping(), !1);
        }
        enableTypingLeaveAnimation() {
          const { parts: e, lastTypingAdmin: t } = this.props.conversation;
          return !t || !Object(_t.a)(t, e);
        }
        render() {
          const { isFaded: e, isBorderless: t } = this.props,
            n = this.shouldRenderTypingAdmin();
          return i.a.createElement(
            Pt.b,
            null,
            i.a.createElement(
              Pt.a,
              {
                ref: this.setParts,
                style: this.getStyle(),
                isScrolling: this.isScrolling(),
                isFaded: e,
                isBorderless: t,
              },
              i.a.createElement(l.TransitionGroup, null, this.renderParts()),
              i.a.createElement(l.TransitionGroup, null, n ? this.renderTypingAdmin() : null)
            )
          );
        }
      }
      At(conversation_parts_ConversationParts, 'contextType', kt.a),
        (conversation_parts_ConversationParts.defaultProps = { isBorderless: !1, isMobile: !1 }),
        (conversation_parts_ConversationParts.propTypes = {
          conversation: a.a.shape({
            id: a.a.string,
            lastTypingAdmin: a.a.object,
            intercomLinkSolution: a.a.string,
            parts: a.a.arrayOf(a.a.shape({ createdAt: a.a.instanceOf(Date) })),
          }).isRequired,
          appName: a.a.string.isRequired,
          isBorderless: a.a.bool,
          isFaded: a.a.bool,
          isMobile: a.a.bool,
          maxHeight: a.a.number,
          scrolledToBottom: a.a.bool,
          frameWindow: a.a.any.isRequired,
          onReactionSelect: a.a.func.isRequired,
          onRetry: a.a.func.isRequired,
          onArticleCardClick: a.a.func,
          onHeightChange: a.a.func,
          onImageClick: a.a.func,
          setPartRef: a.a.func,
          temporaryExpectationsMessage: a.a.string,
          conversationSuggestions: a.a.shape({
            prompt: a.a.array.isRequired,
            loading: a.a.bool,
            priority: a.a.number,
            suggestions: a.a.array.isRequired,
            isTypeaheadSuggestions: a.a.bool,
            isInboundBotSuggestions: a.a.bool,
            isQuickReplies: a.a.bool,
          }),
        });
    },
    ,
    function (e, t, n) {
      'use strict';
      var r = n(462),
        a = n(162),
        o = n.n(a),
        i = n(52),
        s = n.n(i),
        l = n(464),
        c = n.n(l),
        d = n(460),
        p = n.n(d),
        u = n(227),
        m = n.n(u),
        h = n(527),
        b = n.n(h),
        g = n(461);
      const f = Object(g.c)('div', { target: 'eytcc8f0' })({
          name: '1fvlsgw',
          styles:
            'position:absolute;height:100%;width:100%;display:block;text-align:center;background-color:rgba(0,0,0,0);z-index:1;',
        }),
        v = Object(g.c)('div', { target: 'eytcc8f1' })(
          'height:50px;width:290px;padding-top:2px;padding-bottom:2px;display:inline-block;position:relative;background-color:white;box-shadow:0 1px 15px 1px rgba(0,0,0,0.08);border-radius:6px;z-index:2;box-sizing:border-box;',
          ({ emojiYOffset: e }) => Object(g.b)('top:', e - 17, 'px;')
        ),
        x = Object(g.c)('span', { target: 'eytcc8f2' })(
          "padding:3px;width:36px;line-height:1.28;display:inline-block;height:36px;text-align:center;cursor:pointer;vertical-align:middle;font-size:28px;margin:4px 5px 0 6px;box-sizing:border-box;font-family:'Apple Color Emoji','Segoe UI Emoji','NotoColorEmoji','Segoe UI Symbol','Android Emoji','EmojiSymbols',sans-serif;&:hover{background-color:",
          Object(g.f)('itemHover'),
          ';border-radius:3px;}'
        ),
        y = Object(g.c)('span', { target: 'eytcc8f3' })(
          'border-right:1px solid ',
          Object(g.f)('dividerBorder'),
          ';height:36px;width:1px;'
        ),
        j = ({ emojiXOffset: e }) =>
          Object(g.b)(
            'position:absolute;bottom:-8px;right:0;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid white;left:',
            e - 7,
            'px;'
          ),
        O = Object(g.c)('div', { target: 'eytcc8f4' })(j),
        C = Object(g.c)('div', { target: 'eytcc8f5' })(j, ' bottom:-9px;border-top:none;');
      function w(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class emoji_skintone_picker_EmojiSkintonePicker extends d.Component {
        constructor(...e) {
          super(...e),
            w(this, 'handleEmojiClick', (e) => {
              const t = b.a.unicodeFromIdentifier(e.target.title);
              this.props.onEmojiClick(this.props.emoji, t);
            }),
            w(this, 'handleOverlayClick', () => {
              this.props.onClose();
            });
        }
        renderEmoji(e, t) {
          return p.a.createElement(
            'span',
            { key: t },
            p.a.createElement(
              x,
              { title: b.a.identifierFromUnicode(e), onClick: this.handleEmojiClick },
              e
            ),
            0 === t ? p.a.createElement(y, null) : null
          );
        }
        render() {
          const { emoji: e, emojiXOffset: t, emojiYOffset: n } = this.props,
            r = b.a.getAllModifiedForBaseEmoji(e);
          return r.length <= 1
            ? null
            : p.a.createElement(
                f,
                { onClick: this.handleOverlayClick },
                p.a.createElement(
                  v,
                  { emojiYOffset: n },
                  r.map((e, t) => this.renderEmoji(e, t)),
                  p.a.createElement(C, { emojiXOffset: t }),
                  p.a.createElement(O, { emojiXOffset: t })
                )
              );
        }
      }
      var E = n(21),
        k = { name: '10f5ogp', styles: 'transition-delay:0ms;transform:scale(1.2);' };
      const S = Object(g.c)('span', { target: 'e1yhe9kr0' })(
        "padding:6px;width:30px;line-height:1.07;display:inline-table;text-align:justify;cursor:pointer;vertical-align:middle;font-size:28px;transition:transform 60ms ease-out;transition-delay:60ms;font-family:'Apple Color Emoji','Segoe UI Emoji','NotoColorEmoji','Segoe UI Symbol','Android Emoji','EmojiSymbols',sans-serif;",
        ({ isActive: e }) => e && k
      );
      function _(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class emoji_Emoji extends d.Component {
        constructor(...e) {
          super(...e),
            _(this, 'state', { isHovering: !1 }),
            _(this, 'handleEmojiMouseEnter', () => {
              this.setState({ isHovering: !0 });
            }),
            _(this, 'handleEmojiMouseLeave', () => {
              this.setState({ isHovering: !1 });
            });
        }
        render() {
          const {
              emoji: e,
              index: t,
              title: n,
              onEmojiMouseUp: r,
              onEmojiMouseDown: a,
              isActive: o,
            } = this.props,
            i = n.replace(/(_|-)/gi, ' ');
          return p.a.createElement(
            S,
            {
              'key': t,
              'className': 'intercom-emoji-picker-emoji',
              'title': n,
              'aria-label': i,
              'role': 'button',
              'tabIndex': '0',
              'onMouseUp': r,
              'onMouseDown': a,
              'onMouseEnter': this.handleEmojiMouseEnter,
              'onMouseLeave': this.handleEmojiMouseLeave,
              'onKeyDown': Object(E.v)(r),
              'isActive': this.state.isHovering || o,
            },
            e
          );
        }
      }
      var P = n(544),
        T = n(9),
        B = n(39),
        N = n(672),
        A = n(12),
        M = n(526);
      class search_results_summary_SearchResultsSummary extends d.Component {
        render() {
          const { count: e, query: t } = this.props;
          return p.a.createElement(
            'span',
            { 'aria-live': 'assertive' },
            t
              ? p.a.createElement(
                  M.b,
                  { role: 'alert' },
                  e
                    ? p.a.createElement(
                        'span',
                        null,
                        e,
                        ' ',
                        Object(B.e)('article_search_search_results_for_query', { query: t })
                      )
                    : Object(B.e)('article_search_no_results_for_query', { query: t })
                )
              : null
          );
        }
      }
      var I = n(81);
      const z = Object(g.c)('span', { target: 'e1p2xl350' })(
          'border:10px solid;color:',
          Object(g.f)('white'),
          ';background-color:',
          Object(g.f)('white'),
          ';border-color:',
          Object(g.f)('white'),
          ';cursor:pointer;'
        ),
        L = Object(g.c)('div', { target: 'e1p2xl351' })({
          name: 'it9z2a',
          styles: 'margin:10px -5px;padding-left:3px;',
        }),
        R = Object(g.c)('h3', { target: 'e1p2xl352' })(
          'color:',
          Object(g.f)('metaText'),
          ';font-weight:600;font-size:11px;margin:5px;text-transform:uppercase;line-height:1.27;'
        ),
        F = Object(g.c)('div', { target: 'e1p2xl353' })({
          name: 'jlrjs2',
          styles: 'width:330px;height:260px;',
        }),
        D = Object(g.c)('div', { target: 'e1p2xl354' })({
          name: '1nrau3',
          styles: 'width:145px;height:115px;',
        });
      var H = n(463),
        W = n(856),
        q = n.n(W),
        U = n(857),
        V = n.n(U);
      const G = Object(g.c)('div', { target: 'e1w5qe5f0' })(
          'z-index:',
          Object(H.m)(3),
          ';position:absolute;max-height:',
          260,
          'px;bottom:100%;right:calc(50% - 165px);box-shadow:0 1px 15px 1px rgba(0,0,0,0.12);background-color:white;border-radius:6px;',
          ({ isBorderless: e }) =>
            e &&
            Object(g.b)(
              'height:',
              236,
              'px;top:',
              -236,
              'px;/* @noflip */ right:7px;/* @noflip */ left:calc(50% - 165px);'
            ),
          ' &.intercom-composer-popover{&-enter{opacity:0;transform:translateY(5px);}&-enter-active{opacity:1;transform:translateY(0);}&-exit{opacity:1;transform:translateY(0);}&-exit-active{opacity:0;transform:translateY(5px);}&-enter-active,&-exit-active{transition:opacity ease 200ms,transform ease 200ms;}}'
        ),
        $ = Object(g.c)('div', { target: 'e1w5qe5f1' })(
          'position:absolute;bottom:-8px;width:0;height:0;border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid white;',
          ({ popoverType: e, shouldHideUploads: t, isBorderless: n, theme: r }) => {
            const a = (({ popoverType: e, shouldHideUploads: t, isBorderless: n, theme: r }) => {
              let a = 'gif' === e ? 81 : 41;
              return t && (a -= 34), n && (a += 19), r.isRtlLocale && n && (a += 23), a;
            })({ popoverType: e, shouldHideUploads: t, isBorderless: n, theme: r });
            return Object(g.b)('right:', a, 'px;');
          }
        ),
        X = Object(g.c)('div', { target: 'e1w5qe5f2' })(
          'position:absolute;left:0;top:50%;width:100%;margin-top:-7px;font-size:14px;font-weight:bold;text-align:center;color:',
          Object(g.f)('bodyText'),
          ';'
        ),
        Y = Object(g.c)('div', { target: 'e1w5qe5f3' })(
          'position:absolute;top:0;left:20px;right:20px;height:40px;border-bottom:1px ',
          Object(g.f)('inputBorder'),
          ' solid;'
        ),
        K = Object(g.c)('input', { target: 'e1w5qe5f4' })(
          Object(H.b)(q.a, V.a, '16px', '16px'),
          ' background-position:0 12px;font-weight:normal;font-size:14px;color:',
          Object(g.f)('inputText'),
          ';padding:10px 0 10px 25px;height:40px;width:100%;box-sizing:border-box;&::placeholder{color:',
          Object(g.f)('inputPlaceholder'),
          ';}'
        ),
        Z = Object(g.c)('div', { target: 'e1w5qe5f5' })({
          name: '1mt7bgj',
          styles:
            'position:absolute;top:40px;left:0;right:0;bottom:5px;padding:0 20px;overflow-y:scroll;',
        });
      var J = n(2);
      function Q({ event: e, eventIdentifier: t, onClick: n }) {
        !e ||
        (function (e) {
          return (
            (function () {
              const e = -1 !== navigator.userAgent.indexOf('Ghost Inspector'),
                t = window._DATADOG_SYNTHETICS_BROWSER;
              return e || t || !1;
            })() || !1 !== e.isTrusted
          );
        })(e)
          ? n(e)
          : t && Object(J.g)('click_denied', { target: t }, !0);
      }
      function ee(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const te = [
        { baseEmoji: '👍', skintoneEmoji: '👍' },
        { baseEmoji: '👎', skintoneEmoji: '👎' },
        { baseEmoji: '😭', skintoneEmoji: '😭' },
        { baseEmoji: '😕', skintoneEmoji: '😕' },
        { baseEmoji: '😐', skintoneEmoji: '😐' },
        { baseEmoji: '😊', skintoneEmoji: '😊' },
        { baseEmoji: '😍', skintoneEmoji: '😍' },
      ];
      function ne() {
        const e = JSON.parse(A.a.get('intercom.recentEmoji')) || {};
        return e.version && '1.0' === e.version
          ? e.emoji || []
          : (A.a.remove('intercom.recentEmoji'), m()(te));
      }
      function re(e) {
        const t = JSON.parse(A.a.get('intercom.recentEmoji'));
        if (!t || !t.emoji) return e;
        let n = e;
        return (
          t.emoji.forEach((t) => {
            t.baseEmoji !== e || (n = t.skintoneEmoji);
          }),
          n
        );
      }
      class emoji_picker_EmojiPicker extends d.Component {
        constructor(...e) {
          super(...e),
            ee(this, 'state', {
              searchValue: '',
              hasNativeEmojiSupport: Object(P.b)(),
              hasLocalStorageSupport: T.a.hasLocalStorageSupport(),
              skintoneEmojiToShow: null,
              emojiXOffset: 0,
              emojiYOffset: 0,
            }),
            ee(
              this,
              'emojiMap',
              (function () {
                const { allEmoticonsIdentifierList: e, unicodeFromIdentifier: t } = b.a;
                return e.map((e) => ({ title: e, emoji: t(e) }));
              })()
            ),
            ee(this, 'handleEmojiMouseDown', (e) => {
              const t = e.target.offsetLeft,
                n = e.target.offsetTop - Object(N.a)(window, e.target).scrollTop;
              this.setState({ emojiXOffset: t, emojiYOffset: n }),
                this.emojiLongPressTimeout && clearTimeout(this.emojiLongPressTimeout),
                (this.emojiLongPressTimeout = setTimeout(
                  (e) => {
                    this.setState({ skintoneEmojiToShow: e });
                  },
                  500,
                  b.a.unicodeFromIdentifier(e.target.title)
                ));
            }),
            ee(this, 'handleEmojiMouseUp', (e) => {
              Q({
                event: e,
                eventIdentifier: 'select_emoji',
                onClick: (e) => {
                  if (
                    (this.emojiLongPressTimeout && clearTimeout(this.emojiLongPressTimeout),
                    !this.state.skintoneEmojiToShow)
                  ) {
                    const t = b.a.unicodeFromIdentifier(e.target.title);
                    this.handleEmojiClick(t);
                  }
                  this.setState({ skintoneEmojiToShow: null }), e.preventDefault();
                },
              });
            }),
            ee(this, 'handleImageClick', (e) => {
              const t = e.target.title;
              this.props.onEmojiClick(t);
            }),
            ee(this, 'handleSearchChange', (e) => {
              const t = e.target.value;
              this.setState({ searchValue: t });
            }),
            ee(this, 'handleClick', (e) => {
              e.stopPropagation();
            }),
            ee(this, 'handleEmojiClick', (e, t) => {
              if (void 0 === e) return;
              let n = e;
              this.state.hasLocalStorageSupport &&
                ((n = t || re(e)),
                t &&
                  (function (e, t) {
                    const n = JSON.parse(A.a.get('intercom.recentEmoji'));
                    if (!n || !n.emoji) return;
                    let r = !1,
                      a = n.emoji;
                    a.forEach((n) => {
                      if (n.baseEmoji === e) return (n.skintoneEmoji = t), void (r = !0);
                    }),
                      r || (a = m()(a).concat({ baseEmoji: e, skintoneEmoji: t })),
                      A.a.set('intercom.recentEmoji', JSON.stringify({ version: '1.0', emoji: a }));
                  })(e, t),
                (function (e, t = e) {
                  const n = te.find((t) => t.baseEmoji === e);
                  let r = ne();
                  const a = r.find((t) => t.baseEmoji === e),
                    o = r.indexOf(a);
                  a && r.splice(o, 1),
                    r.unshift({ baseEmoji: e, skintoneEmoji: t }),
                    r.length < 8 && !n && (r = r.concat(te)),
                    A.a.set('intercom.recentEmoji', JSON.stringify({ version: '1.0', emoji: r }));
                })(e, n)),
                this.props.onEmojiClick(n);
            }),
            ee(this, 'handleSkinTonePickerClose', () => {
              this.setState({ skintoneEmojiToShow: null });
            });
        }
        hasSearchText() {
          return '' !== this.state.searchValue;
        }
        filteredSearchEmoji(e) {
          return this.emojiMap
            .filter(
              ((e) => {
                const t = e.toLowerCase();
                return (e) => e.title.indexOf(t) > -1;
              })(e)
            )
            .map((e) => e.emoji);
        }
        renderEmoji(e, t, n = e) {
          if (!b.a.isSupportedUnicode(e)) return null;
          const r = b.a.identifierFromUnicode(n),
            a = this.state.skintoneEmojiToShow === n,
            o = this.state.hasLocalStorageSupport ? re(e) : e;
          return p.a.createElement(emoji_Emoji, {
            key: t,
            emoji: o,
            title: r,
            onEmojiMouseUp: this.handleEmojiMouseUp,
            onEmojiMouseDown: this.handleEmojiMouseDown,
            isActive: a,
          });
        }
        renderImage(e, t) {
          return p.a.createElement(z, {
            'key': t,
            'title': b.a.asciiFromUnicode(e),
            'style': {
              height: '16px',
              width: '16px',
              backgroundImage: 'url(' + b.a.twemojiSVGUri(e) + ')',
            },
            'onClick': this.handleImageClick,
            'aria-label': Object(P.a)(e),
          });
        }
        renderGroup(e, t) {
          return p.a.createElement(
            L,
            { key: t },
            p.a.createElement(
              R,
              null,
              Object(B.e)(b.a.getGroupRepresentatives()[t][1].toLowerCase())
            ),
            e.map((e, t) => {
              if (b.a.isEmojiBaseUnicode(e)) return this.renderEmoji(e, t);
            })
          );
        }
        renderMostRecent() {
          const e = ne().slice(0, 8);
          return p.a.createElement(
            L,
            null,
            p.a.createElement(R, null, Object(B.e)('frequently_used')),
            e.map((e, t) => this.renderEmoji(e.skintoneEmoji, t, e.baseEmoji))
          );
        }
        renderFiltered() {
          const e = this.filteredSearchEmoji(this.state.searchValue);
          return p.a.createElement(
            L,
            null,
            0 === e.length
              ? p.a.createElement(X, null, Object(B.e)('no_emoji_found'))
              : e.map((e, t) => {
                  if (b.a.isEmojiBaseUnicode(e)) return this.renderEmoji(e, t);
                })
          );
        }
        renderGroups() {
          const e = b.a.prettyEmoticonsUnicodeGroups();
          return p.a.createElement(
            p.a.Fragment,
            null,
            this.state.hasLocalStorageSupport ? this.renderMostRecent() : null,
            e.map((e, t) => this.renderGroup(e, t))
          );
        }
        renderEmojiPicker() {
          return p.a.createElement(
            p.a.Fragment,
            null,
            p.a.createElement(
              Y,
              null,
              p.a.createElement(K, {
                'name': 'emoji',
                'autoFocus': !0,
                'placeholder': Object(B.e)('search_for_emoji'),
                'value': this.state.searchValue,
                'onChange': this.handleSearchChange,
                'onBlur': I.d,
                'aria-label': Object(B.e)('search_for_emoji'),
              })
            ),
            p.a.createElement(search_results_summary_SearchResultsSummary, {
              query: this.state.searchValue,
              count: this.filteredSearchEmoji(this.state.searchValue).filter(b.a.isEmojiBaseUnicode)
                .length,
            }),
            p.a.createElement(
              Z,
              { 'onWheel': E.d, 'aria-live': 'polite' },
              this.hasSearchText() ? this.renderFiltered() : this.renderGroups()
            )
          );
        }
        renderSkinTonePicker() {
          return p.a.createElement(emoji_skintone_picker_EmojiSkintonePicker, {
            emoji: this.state.skintoneEmojiToShow,
            emojiYOffset: this.state.emojiYOffset,
            emojiXOffset: this.state.emojiXOffset,
            onClose: this.handleSkinTonePickerClose,
            onEmojiClick: this.handleEmojiClick,
          });
        }
        renderWithoutNativeSupport() {
          const e = b.a.asciiEmoticonsUnicodeList.slice(0, 12);
          return p.a.createElement(
            D,
            { onClick: this.handleClick, tabIndex: '-1' },
            e.map((e, t) => this.renderImage(e, t))
          );
        }
        renderWithNativeSupport() {
          return p.a.createElement(
            F,
            { onClick: this.handleClick, tabIndex: '-1' },
            this.state.skintoneEmojiToShow ? this.renderSkinTonePicker() : null,
            this.renderEmojiPicker()
          );
        }
        render() {
          return this.state.hasNativeEmojiSupport
            ? this.renderWithNativeSupport()
            : this.renderWithoutNativeSupport();
        }
      }
      emoji_picker_EmojiPicker.propTypes = { onEmojiClick: c.a.func.isRequired };
      var ae = n(3),
        oe = n(549),
        ie = n(472);
      const se = Object(g.c)('div', { target: 'e1ui6fit0' })({
          name: 'jlrjs2',
          styles: 'width:330px;height:260px;',
        }),
        le = Object(g.c)('div', { target: 'e1ui6fit1' })({
          name: '1u3norf',
          styles: 'float:left;width:50%;height:150px;padding:5px;box-sizing:border-box;',
        }),
        ce = Object(g.c)('div', { target: 'e1ui6fit2' })({
          name: '10jvw7m',
          styles:
            'width:100%;height:100%;cursor:pointer;border-radius:2px;&:hover{box-shadow:0 1px 3px 0 rgba(0,0,0,0.3);}',
        }),
        de = Object(g.c)('div', { target: 'e1ui6fit3' })({
          name: 'c3jq20',
          styles: 'margin:5px -5px;overflow:hidden;',
        });
      function pe(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class gif_picker_GifPicker extends d.Component {
        constructor(...e) {
          super(...e),
            pe(this, 'state', { query: null }),
            pe(this, 'handleClick', (e) => {
              e.stopPropagation();
            }),
            pe(
              this,
              'handleSearchInputChange',
              Object(oe.a)((e) => {
                this.setState({ query: e.target.value }), this.props.onSearchGifs(e.target.value);
              }, 200)
            );
        }
        componentDidMount() {
          this.props.onSearchGifs();
        }
        createHandleGifClick(e) {
          return (t) => {
            Q({
              event: t,
              eventIdentifier: 'select_gif',
              onClick: (t) => {
                this.props.onGifClick(e), t.preventDefault();
              },
            });
          };
        }
        renderGif(e) {
          const t = Object(B.e)('send');
          return p.a.createElement(
            le,
            { key: e.url },
            p.a.createElement(ce, {
              'style': { background: `url(${e.url}) center center / cover` },
              'onClick': this.createHandleGifClick(e),
              'aria-label': e.title ? `${t} ${e.title} gif` : `${t} gif`,
            })
          );
        }
        renderFetching() {
          return p.a.createElement(ie.a, null);
        }
        renderResults() {
          const { fetchingFailed: e, gifs: t } = this.props;
          return p.a.createElement(
            de,
            null,
            e ? p.a.createElement(X, null, Object(B.e)('gifs_load_error')) : null,
            e || 0 !== t.length ? null : p.a.createElement(X, null, Object(B.e)('no_gifs_found')),
            t.map((e) => this.renderGif(e))
          );
        }
        render() {
          const { gifs: e } = this.props,
            { query: t } = this.state;
          return p.a.createElement(
            se,
            { onClick: this.handleClick, tabIndex: '-1' },
            p.a.createElement(
              Y,
              null,
              p.a.createElement(K, {
                'name': 'gif',
                'autoFocus': !0,
                'placeholder': Object(B.e)('search_gif'),
                'onChange': this.handleSearchInputChange,
                'onBlur': I.d,
                'aria-label': Object(B.e)('search_gif'),
              }),
              p.a.createElement(search_results_summary_SearchResultsSummary, {
                count: e.length,
                query: t,
              })
            ),
            p.a.createElement(
              Z,
              { 'onWheel': E.d, 'aria-live': 'polite' },
              this.props.isFetching ? this.renderFetching() : this.renderResults()
            )
          );
        }
      }
      gif_picker_GifPicker.propTypes = {
        isFetching: c.a.bool.isRequired,
        gifs: c.a.array.isRequired,
        fetchingFailed: c.a.bool.isRequired,
        onSearchGifs: c.a.func.isRequired,
        onGifClick: c.a.func.isRequired,
      };
      var ue = n(0);
      function me(e, t = '') {
        return (n, r) => {
          n(he(t));
          const { session: a } = r();
          return e
            .searchGifs(a, t)
            .then((e) => {
              n(be(t, e));
            })
            .catch(() => {
              n(
                (function (e) {
                  return { type: ue.wc, searchTerm: e };
                })(t)
              );
            });
        };
      }
      function he(e) {
        return { type: ue.xc, searchTerm: e };
      }
      function be(e, t) {
        return { type: ue.yc, gifs: t.results, searchTerm: e };
      }
      var ge = Object(r.connect)(
        (e) => {
          const { isFetching: t, fetchingFailed: n, gifs: r } = e.gifs;
          return { isFetching: t, fetchingFailed: n, gifs: r };
        },
        (e) => ({
          onSearchGifs: (t = '') => {
            e(me(ae.b, t));
          },
        })
      )(gif_picker_GifPicker);
      var fe = () =>
          p.a.createElement(
            'svg',
            { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 16' },
            p.a.createElement('path', {
              d: 'M1.388 15.77c-.977.518-1.572.061-1.329-1.019l1.033-4.585c.123-.543.659-1.034 1.216-1.1l6.195-.72c1.648-.19 1.654-.498 0-.687l-6.195-.708c-.55-.063-1.09-.54-1.212-1.085L.056 1.234C-.187.161.408-.289 1.387.231l12.85 6.829c.978.519.98 1.36 0 1.88l-12.85 6.83z',
              fillRule: 'evenodd',
            })
          ),
        ve = n(535);
      var xe = () =>
          p.a.createElement(
            'svg',
            {
              'focusable': 'false',
              'aria-hidden': 'true',
              'width': '18',
              'height': '18',
              'xmlns': 'http://www.w3.org/2000/svg',
            },
            p.a.createElement('path', {
              d: 'M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zM5 6.999a1 1 0 1 0 2.001 0A1 1 0 0 0 5 7zm5.999 0a1.001 1.001 0 0 0 2.001 0 1 1 0 0 0-2.001 0zm-2.3 6.494c.087.005.174.007.26.007 1.513 0 2.99-.722 4.398-2.149l.35-.356.482-.702-10.326.006.435.62.31.392c.068.083 1.652 2.05 4.092 2.182z',
              fill: '#ADADAD',
              fillRule: 'evenodd',
            })
          ),
        ye = n(673);
      var je = () =>
          p.a.createElement(
            'svg',
            { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 29 18' },
            p.a.createElement('path', {
              d: 'M9 0h11a9 9 0 0 1 0 18H9A9 9 0 0 1 9 0zM6.561 9.337c0 2.277 1.683 3.806 3.773 3.806 1.199 0 2.2-.506 2.882-1.265V9.227H9.784v.814h2.519v1.496a2.895 2.895 0 0 1-1.969.792c-1.606 0-2.827-1.254-2.827-2.992 0-1.749 1.221-2.981 2.827-2.981.88 0 1.661.418 2.123 1.012l.726-.451c-.649-.803-1.551-1.375-2.849-1.375-2.09 0-3.773 1.518-3.773 3.795zM14.701 13h.913V5.663h-.913V13zm2.629 0h.913V9.656h3.817v-.814h-3.817V6.477h3.894v-.814H17.33V13z',
              fillRule: 'nonzero',
            })
          ),
        Oe = n(533),
        Ce = n(466);
      function we(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class composer_popover_ComposerPopover extends d.Component {
        constructor(...e) {
          super(...e),
            we(this, 'addedEscListener', !1),
            we(this, 'handleEsc', (e) => {
              const { onEscapeKey: t } = this.props;
              Object(E.p)(e) && t();
            });
        }
        componentDidUpdate() {
          const { frameWindow: e, onEscapeKey: t, children: n } = this.props;
          if (e && t)
            if (n) {
              if (this.addedEscListener) return;
              Object(E.c)(e, 'keydown', this.handleEsc), (this.addedEscListener = !0);
            } else Object(E.y)(e, 'keydown', this.handleEsc), (this.addedEscListener = !1);
        }
        render() {
          const { children: e, popoverType: t, isBorderless: n, shouldHideUploads: r } = this.props;
          return p.a.createElement(
            Ce.TransitionGroup,
            null,
            e
              ? p.a.createElement(
                  Ce.CSSTransition,
                  { classNames: 'intercom-composer-popover', timeout: { enter: 200, exit: 200 } },
                  p.a.createElement(
                    G,
                    { isBorderless: n },
                    e,
                    p.a.createElement($, { popoverType: t, isBorderless: n, shouldHideUploads: r })
                  )
                )
              : null
          );
        }
      }
      var Ee = n(590),
        ke = n(495),
        Se = n(509);
      const _e = Object(g.c)('div', { target: 'em5ag1g0' })(
          'background-color:white;padding:0 ',
          25,
          'px;font-size:14px;display:flex;flex-direction:column;',
          G.className,
          '{bottom:55px;',
          K.className,
          '{padding-left:',
          25,
          'px;}}label{color:',
          Object(g.f)('installRed'),
          ';}',
          ({ theme: e, shouldShowSmallStateUpfrontEmailComposer: t }) =>
            t &&
            Object(g.b)(
              'box-shadow:',
              e.composerShadowColor,
              ' -1px -4px 20px 3px;min-height:200px;height:200px !important;position:absolute;left:0;right:0;bottom:0;'
            )
        ),
        Pe = Object(g.c)('div', { target: 'em5ag1g1' })({
          name: 'df1wjn',
          styles: 'position:absolute;bottom:0;right:16px;',
        }),
        Te = Object(g.c)(Se.g, { target: 'em5ag1g2' })(
          ({ theme: e, disabled: t }) =>
            t &&
            Object(g.b)(
              'cursor:auto;svg{opacity:0.65;cursor:auto;path{cursor:auto;fill:',
              e.grey,
              ';}}&:hover{opacity:0.8;}'
            ),
          ' ',
          ({ theme: e, isPrimaryColorReadable: t }) =>
            !t && Object(g.b)('svg{path{fill:', e.grey, ';}}&:hover{opacity:0.65;}')
        ),
        Be = ({ theme: e }) => Object(g.b)('padding-top:20px;&::placeholder{color:', e.grey, ';}');
      var Ne = { name: 'orqf19', styles: 'height:70px;' },
        Ae = { name: '8atqhb', styles: 'width:100%;' };
      const Me = Object(g.c)('textarea', { target: 'em5ag1g3' })(
          Be,
          ' line-height:1.33;overflow-x:hidden;overflow-y:scroll;flex:1;margin:0 0 50px 0;width:calc(100% + ',
          25,
          'px);resize:none;',
          ({ theme: e }) => !e.visibleScrollBars && Ae,
          ' ',
          ({ small: e }) => e && Ne
        ),
        Ie = Object(g.c)('input', { target: 'em5ag1g4' })(
          Be,
          ' width:100%;border-bottom:1px solid ',
          Object(g.f)('lightGrey3'),
          ';padding-bottom:16px;',
          ({ theme: e, hasError: t }) =>
            t && Object(g.b)('border-bottom:1px solid ', e.installRed, ';margin-bottom:6px;')
        ),
        ze = Object(g.c)('span', { target: 'em5ag1g5' })('color:', Object(g.f)('installRed'), ';');
      function Le() {
        return (Le =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function Re(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class upfront_email_composer_UpfrontEmailComposer extends d.PureComponent {
        constructor(...e) {
          super(...e),
            Re(this, 'emailInput', void 0),
            Re(this, 'emailFocusTimeout', null),
            Re(this, 'state', { isTextareaFocused: !1 }),
            Re(this, 'renderSendButton', () => {
              const { isPrimaryColorReadable: e } = this.context || {},
                { sendButtonDisabled: t, onSendMessageClick: n } = this.props;
              return p.a.createElement(
                Te,
                {
                  'onClick': n,
                  'disabled': t,
                  'isPrimaryColorReadable': e,
                  'aria-label': Object(B.e)('send_a_message'),
                },
                p.a.createElement(fe, null)
              );
            }),
            Re(this, 'renderEmojiPickerButton', () => {
              const { isPrimaryColorReadable: e } = this.context || {},
                { showEmojiPicker: t, onEmojiPickerToggle: n } = this.props,
                { isTextareaFocused: r } = this.state;
              return r
                ? p.a.createElement(
                    Se.b,
                    {
                      'className': 'intercom-composer-emoji-button',
                      'onClick': n,
                      'showEmojiPicker': t,
                      'aria-label': Object(B.e)('emoji_picker'),
                      'isPrimaryColorReadable': e,
                    },
                    t ? p.a.createElement(xe, null) : p.a.createElement(ve.a, null)
                  )
                : null;
            }),
            Re(this, 'renderEmojiPicker', () => {
              const {
                showEmojiPicker: e,
                onEmojiClick: t,
                onEmojiPickerToggle: n,
                frameWindow: r,
              } = this.props;
              return p.a.createElement(
                composer_popover_ComposerPopover,
                { frameWindow: r, onEscapeKey: n, popoverType: 'emoji' },
                e ? p.a.createElement(emoji_picker_EmojiPicker, { onEmojiClick: t }) : null
              );
            }),
            Re(this, 'renderErrorMessage', () => {
              const { errorMessage: e } = this.props;
              return e ? p.a.createElement(ze, null, e) : null;
            }),
            Re(this, 'renderEmailInput', () => {
              const { email: e, onEmailChange: t, errorMessage: n } = this.props,
                r = n ? { 'aria-invalid': !0 } : {};
              return p.a.createElement(
                Ie,
                Le(
                  {
                    'name': 'email',
                    'ref': (e) => {
                      this.emailInput = e;
                    },
                    'onChange': t,
                    'value': e,
                    'type': 'email',
                    'autoComplete': 'email',
                    'placeholder': Ee.a,
                    'aria-label': Object(B.e)('your_email'),
                    'onFocus': this.handleEmailInputFocus,
                    'onBlur': I.d,
                    'hasError': !!n,
                  },
                  r
                )
              );
            }),
            Re(this, 'renderMessageTextArea', () => {
              const {
                message: e,
                setTextInput: t,
                onMessageChange: n,
                onCursorReposition: r,
                onWheel: a,
                shouldShowSmallStateUpfrontEmailComposer: o,
              } = this.props;
              return p.a.createElement(Me, {
                'name': 'message',
                'ref': (e) => t(e),
                'value': e,
                'placeholder': Object(B.e)('write_your_message'),
                'aria-label': Object(B.e)('your_message'),
                'onChange': n,
                'onKeyUp': r,
                'onClick': r,
                'onWheel': a,
                'onFocus': this.handleTextareaFocus,
                'onBlur': I.d,
                'small': o,
              });
            }),
            Re(this, 'handleEmailInputFocus', () => {
              this.setState({ isTextareaFocused: !1 });
            }),
            Re(this, 'handleTextareaFocus', () => {
              this.setState({ isTextareaFocused: !0 });
            });
        }
        componentDidMount() {
          this.props.toggleUpfrontEmailCollectorState();
        }
        componentWillUnmount() {
          this.props.toggleUpfrontEmailCollectorState(),
            this.emailFocusTimeout && clearTimeout(this.emailFocusTimeout);
        }
        componentDidMount() {
          this.emailFocusTimeout = setTimeout(() => {
            this.emailInput && this.emailInput.focus();
          }, 0);
        }
        render() {
          const {
            headerHeight: e,
            setComposer: t,
            shouldShowSmallStateUpfrontEmailComposer: n,
          } = this.props;
          return p.a.createElement(
            _e,
            {
              style: { height: `calc(100vh - ${e}px)` },
              ref: (e) => t(e),
              shouldShowSmallStateUpfrontEmailComposer: n,
            },
            this.renderEmailInput(),
            this.renderErrorMessage(),
            this.renderMessageTextArea(),
            this.renderEmojiPicker(),
            p.a.createElement(Pe, null, this.renderEmojiPickerButton(), this.renderSendButton())
          );
        }
      }
      Re(upfront_email_composer_UpfrontEmailComposer, 'defaultProps', {
        email: '',
        message: '',
        disabled: !1,
        showEmojiPicker: !1,
      }),
        Re(upfront_email_composer_UpfrontEmailComposer, 'contextType', ke.a);
      var Fe = n(600),
        De = n(170),
        He = n(591),
        We = n(508),
        qe = n(41);
      function Ue(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class composer_Composer extends d.PureComponent {
        constructor(...e) {
          super(...e),
            Ue(this, 'state', {
              text: this.props.defaultText || '',
              email: '',
              errorMessage: '',
              prevProps: this.props,
            }),
            Ue(this, 'textHasChanged', ({ text: e }) => e !== this.state.text),
            Ue(this, 'isSubmissionDisabled', () => {
              const { conversation: e } = this.props;
              if (!e) return !1;
              const { parts: t, id: n } = e,
                r = t.filter((e) => 'bot_intro' !== e.partType);
              return (!r || 0 !== r.length) && !n;
            }),
            Ue(this, 'handleTextInputChange', (e) => {
              this.setState(
                { text: e.target.value, cursorPosition: Object(E.j)(this.textInput) },
                this.handleChange
              );
            }),
            Ue(this, 'handleKeyDown', (e) => {
              const { conversation: t } = this.props;
              if (Ve(e)) {
                if (this.isSubmissionDisabled())
                  try {
                    const { parts: e } = t,
                      { saveState: n } = e && e.length && e[0];
                    Object(J.e)(
                      'submitted',
                      'message',
                      'messenger',
                      'in_conversation',
                      { conversation_state: n },
                      'usability_metric'
                    );
                  } catch (e) {}
                else this.handleTextSubmit();
                e.preventDefault();
              } else this.handleTyping();
            }),
            Ue(
              this,
              'handleTyping',
              o()(() => {
                this.props.onTyping();
              }, 1e3)
            ),
            Ue(this, 'handleGifClick', (e) => {
              const { url: t, width: n, height: r, attribution: a, title: o } = e;
              this.props.onSubmit(Object(qe.b)(t, n, r, a, o)), this.handleGifPickerToggle();
            }),
            Ue(this, 'handleCursorReposition', (e) => {
              const t = Array.from(new Array(4), (e, t) => t + 37);
              ('keyup' === e.type && t.indexOf(e.keyCode) < 0) ||
                this.setState({ cursorPosition: Object(E.j)(this.textInput) });
            }),
            Ue(this, 'handleUploadButtonClick', (e) => {
              Q({
                event: e,
                onClick: () => {
                  this.fileInput.click();
                },
              });
            }),
            Ue(this, 'handleEmojiPickerToggle', (e) => {
              Q({
                event: e,
                onClick: () => {
                  const { showEmojiPicker: e, onEmojiPickerToggle: t } = this.props;
                  t(), e && this.focus();
                },
                eventIdentifier: 'toggle_emoji_picker',
              });
            }),
            Ue(this, 'handleEmojiClick', (e) => {
              const { text: t } = this.state,
                n = this.state.cursorPosition || t.length,
                r = n + e.length,
                a = !this.hasText(),
                o = Object(E.o)(t, e, n);
              this.setState({ text: o, cursorPosition: r }, () => {
                this.handleEmojiPickerToggle(), a ? this.handleTextSubmit() : this.handleChange();
              });
            }),
            Ue(this, 'handleGifPickerToggle', (e) => {
              Q({
                event: e,
                onClick: () => {
                  const { showGifPicker: e, onGifPickerToggle: t } = this.props;
                  t(), e && this.focus();
                },
                eventIdentifier: 'toggle_gif_picker',
              });
            }),
            Ue(this, 'handleFileSubmit', (e) => {
              let t = e;
              e.target && (t = e.target.files),
                t && 0 !== t.length && (this.createAttachmentParts(t), this.clearFileInput());
            }),
            Ue(this, 'createBlocksForImageOrAttachment', (e) => {
              const { onSubmit: t } = this.props;
              Object(Fe.b)(e).then((n) => {
                if (n) {
                  const { width: r, height: a, src: o } = n,
                    i = Object(De.b)(n.src, e.name, e.type);
                  t(Object(qe.b)(o, r, a), i);
                } else {
                  const { name: n, type: r, size: a } = e;
                  t(Object(qe.a)(n, r, a), e);
                }
              });
            }),
            Ue(this, 'handleSubmitButtonClick', (e) => {
              e.preventDefault(), this.handleTextSubmit();
            }),
            Ue(this, 'handleFocus', () => {
              if (Object(T.i)()) {
                if ((this.props.onHeaderCollapse(), Object(T.f)())) return;
                setTimeout(() => {
                  this.composer.scrollIntoView();
                }, 200);
              }
            }),
            Ue(this, 'handleEmailChange', (e) => {
              const { value: t } = e.currentTarget;
              this.setState({ email: t, errorMessage: '' });
            }),
            Ue(this, 'handleSendMessageClick', () => {
              const { email: e, text: t } = this.state;
              this.hasEmailAndMessage() &&
                (Object(He.a)(e)
                  ? (this.setState({ text: '' }, this.handleChange),
                    this.props.onSubmit(Object(qe.c)(t), null, null, e))
                  : this.setState({
                      errorMessage: Object(B.e)('that_email_address_doesnt_look_quite_right'),
                    }));
            }),
            Ue(this, 'handleUpfrontEmojiClick', (e) => {
              const { cursorPosition: t } = this.state,
                n = Object(E.o)(this.state.text, e, t);
              this.setState({ text: n }, () => {
                this.handleEmojiPickerToggle();
              });
            }),
            Ue(this, 'hasEmailAndMessage', () => {
              const { email: e, text: t } = this.state;
              return e.trim().length > 0 && t.trim().length > 0;
            }),
            Ue(this, 'shouldHideUploads', () => !this.shouldShowUploadButton() && !this.hasText()),
            Ue(this, 'setTextInput', (e) => {
              this.textInput = e;
            }),
            Ue(this, 'setComposer', (e) => {
              this.composer = e;
            }),
            Ue(this, 'renderUpfrontEmailComposer', () => {
              const {
                  showEmojiPicker: e,
                  toggleUpfrontEmailCollectorState: t,
                  headerHeight: n,
                  conversation: r,
                  frameWindow: a,
                } = this.props,
                { text: o, email: i, errorMessage: s } = this.state,
                l = r && !!r.id;
              return p.a.createElement(upfront_email_composer_UpfrontEmailComposer, {
                onMessageChange: this.handleTextInputChange,
                onEmailChange: this.handleEmailChange,
                onCursorReposition: this.handleCursorReposition,
                onSendMessageClick: this.handleSendMessageClick,
                onEmojiClick: this.handleUpfrontEmojiClick,
                onEmojiPickerToggle: this.handleEmojiPickerToggle,
                onWheel: E.d,
                toggleUpfrontEmailCollectorState: t,
                setTextInput: this.setTextInput,
                setComposer: this.setComposer,
                showEmojiPicker: e,
                message: o,
                email: i,
                errorMessage: s,
                sendButtonDisabled: !this.hasEmailAndMessage(),
                headerHeight: n,
                frameWindow: a,
                shouldShowSmallStateUpfrontEmailComposer: l,
              });
            }),
            Ue(this, 'renderTextArea', () => {
              const { placeholder: e } = this.props,
                { text: t } = this.state;
              return p.a.createElement('textarea', {
                'name': 'message',
                'ref': (e) => (this.textInput = e),
                'value': t,
                'placeholder': e,
                'aria-label': e,
                'onChange': this.handleTextInputChange,
                'onKeyDown': this.handleKeyDown,
                'onKeyUp': this.handleCursorReposition,
                'onClick': this.handleCursorReposition,
                'onFocus': this.handleFocus,
                'onBlur': I.d,
                'onWheel': E.d,
                'tabIndex': '0',
              });
            });
        }
        componentDidMount() {
          const e = this.composer && this.composer.clientHeight;
          this.handleHeightChange(e),
            this.moveCaretToEndOfText(),
            Object(T.i)() || this.props.isBorderless || this.focus(),
            this.context &&
              this.context.subscribe &&
              (this.context.subscribe('focusComposer', () => this.focus()),
              this.context.subscribe('emptyComposer', () =>
                this.setState({ text: '' }, this.handleChange)
              )),
            this.state.text && this.props.onChange(this.state.text);
        }
        componentDidUpdate() {
          this.handleHeightChange(this.composer.clientHeight);
        }
        componentWillUnmount() {
          this.context &&
            this.context.subscribe &&
            (this.context.subscribe('focusComposer', () => null),
            this.context.subscribe('emptyComposer', () => null));
        }
        static getDerivedStateFromProps(e, t) {
          if (!t || s()(e, t.prevProps)) return null;
          const { defaultText: n } = t.prevProps;
          return (e.defaultText || ((r = e.defaultText), /^\s*$/.test(r))) && e.defaultText !== n
            ? { text: e.defaultText, prevProps: e }
            : { prevProps: e };
          var r;
        }
        handleHeightChange(e) {
          const { onHeightChange: t } = this.props;
          t && t(e);
        }
        createAttachmentParts(e) {
          e.length > 5
            ? Object(J.c)('attachment_limit_exceeded', { file_count: e.length, place: 'composer' })
            : Array.from(e).forEach((e) => this.createBlocksForImageOrAttachment(e));
        }
        handleTextSubmit() {
          this.hasText() &&
            (this.props.onSubmit(Object(qe.c)(this.state.text)),
            this.setState({ text: '' }, this.handleChange));
        }
        handleChange() {
          this.props.onChange(this.state.text);
        }
        clearFileInput() {
          this.fileInput && (this.fileInput.value = null);
        }
        focus() {
          const { cursorPosition: e } = this.state;
          Object(E.h)(this.textInput, e);
        }
        hasText() {
          return this.state.text.trim().length > 0;
        }
        shouldShowUploadButton() {
          return Object(T.c)() && this.props.showUploadButton && !this.hasText();
        }
        moveCaretToEndOfText() {
          this.hasText() && Object(E.h)(this.textInput, this.state.text.length);
        }
        renderUploadButton() {
          const { allowMultipleUploads: e } = this.props;
          return p.a.createElement(
            Se.i,
            {
              'className': 'intercom-composer-upload-button',
              'onClick': this.handleUploadButtonClick,
              'aria-label': Object(B.e)('upload_attachment'),
            },
            p.a.createElement(Oe.a, null),
            p.a.createElement('input', {
              ref: (e) => (this.fileInput = e),
              type: 'file',
              multiple: e,
              disabled: this.isSubmissionDisabled(),
              onChange: this.handleFileSubmit,
              style: { display: 'none' },
            })
          );
        }
        renderEmojiPickerButton() {
          const { showEmojiPicker: e, isPrimaryColorReadable: t } = this.props;
          return p.a.createElement(
            Se.b,
            {
              'className': 'intercom-composer-emoji-button',
              'disabled': this.isSubmissionDisabled(),
              'onClick': this.handleEmojiPickerToggle,
              'aria-disabled': this.isSubmissionDisabled(),
              'aria-label': Object(B.e)('emoji_picker'),
              'showEmojiPicker': e,
              'isPrimaryColorReadable': t,
            },
            e ? p.a.createElement(xe, null) : p.a.createElement(ve.a, null)
          );
        }
        renderEmojiPicker() {
          const { frameWindow: e, showEmojiPicker: t, isBorderless: n } = this.props;
          return p.a.createElement(
            composer_popover_ComposerPopover,
            {
              onEscapeKey: this.handleEmojiPickerToggle,
              frameWindow: e,
              isBorderless: n,
              shouldHideUploads: this.shouldHideUploads(),
              popoverType: 'emoji',
            },
            t
              ? p.a.createElement(emoji_picker_EmojiPicker, { onEmojiClick: this.handleEmojiClick })
              : null
          );
        }
        renderGifPickerButton() {
          const { showGifPicker: e, isPrimaryColorReadable: t } = this.props;
          return p.a.createElement(
            Se.d,
            {
              'className': 'intercom-composer-gif-button',
              'disabled': this.isSubmissionDisabled(),
              'onClick': this.handleGifPickerToggle,
              'aria-disabled': this.isSubmissionDisabled(),
              'aria-label': Object(B.e)('gif_picker'),
              'showGifPicker': e,
              'isPrimaryColorReadable': t,
            },
            e ? p.a.createElement(je, null) : p.a.createElement(ye.a, null)
          );
        }
        renderGifPicker() {
          const { frameWindow: e, showGifPicker: t, isBorderless: n } = this.props;
          return p.a.createElement(
            composer_popover_ComposerPopover,
            {
              onEscapeKey: this.handleGifPickerToggle,
              frameWindow: e,
              isBorderless: n,
              shouldHideUploads: this.shouldHideUploads(),
              popoverType: 'gif',
            },
            t ? p.a.createElement(ge, { onGifClick: this.handleGifClick }) : null
          );
        }
        renderSendButton() {
          const { isPrimaryColorReadable: e } = this.props;
          return p.a.createElement(
            Se.g,
            {
              'className': 'intercom-composer-send-button',
              'disabled': this.isSubmissionDisabled(),
              'onTouchEnd': this.handleSubmitButtonClick,
              'onClick': this.handleSubmitButtonClick,
              'aria-disabled': this.isSubmissionDisabled(),
              'aria-label': Object(B.e)('send_a_message'),
              'isPrimaryColorReadable': e,
            },
            p.a.createElement(fe, null)
          );
        }
        renderButtons() {
          const { showGifButton: e, isBorderless: t } = this.props,
            n = this.hasText(),
            r = !Object(T.i)(),
            a = e && !Object(T.i)() && !n,
            o = this.shouldShowUploadButton();
          return p.a.createElement(
            Se.a,
            { className: 'intercom-composer-buttons', isBorderless: t },
            a ? this.renderGifPickerButton() : null,
            r ? this.renderEmojiPickerButton() : null,
            n ? this.renderSendButton() : null,
            o ? this.renderUploadButton() : null
          );
        }
        render() {
          const {
              shouldShowUpfrontEmailComposer: e,
              isBorderless: t,
              conversationSuggestions: n,
            } = this.props,
            { suggestions: r, loading: a } = n,
            { text: o } = this.state;
          return e
            ? this.renderUpfrontEmailComposer()
            : p.a.createElement(
                Se.h,
                {
                  ref: (e) => (this.composer = e),
                  className: 'intercom-composer',
                  isBorderless: t,
                  hasComposerSuggestionsLoading: a,
                  hasComposerSuggestions: r.length > 0,
                },
                p.a.createElement('pre', null, o, p.a.createElement('br', null)),
                this.renderTextArea(),
                this.renderGifPicker(),
                this.renderEmojiPicker(),
                this.renderButtons()
              );
        }
      }
      const Ve = (e) => 13 === e.keyCode && !(e.altKey || e.shiftKey) && !Object(T.i)();
      (composer_Composer.defaultProps = {
        defaultText: '',
        showEmojiPicker: !1,
        showGifPicker: !1,
        showGifButton: !0,
        showUploadButton: !0,
        isBorderless: !1,
        conversationSuggestions: { prompt: [], suggestions: [], loading: !1, isDismissed: !1 },
      }),
        (composer_Composer.contextType = We.a),
        (composer_Composer.propTypes = {
          placeholder: c.a.string,
          isPrimaryColorReadable: c.a.bool,
          showEmojiPicker: c.a.bool,
          showGifPicker: c.a.bool,
          showUploadButton: c.a.bool,
          showGifButton: c.a.bool,
          defaultText: c.a.string,
          isBorderless: c.a.bool,
          shouldShowUpfrontEmailComposer: c.a.bool,
          onHeightChange: c.a.func,
          onTyping: c.a.func.isRequired,
          onChange: c.a.func.isRequired,
          onSubmit: c.a.func.isRequired,
          toggleUpfrontEmailCollectorState: c.a.func.isRequired,
          onEmojiPickerToggle: c.a.func.isRequired,
          onHeaderCollapse: c.a.func,
          onGifPickerToggle: c.a.func,
          headerHeight: c.a.number,
          conversation: c.a.object,
          frameWindow: c.a.object,
          conversationSuggestions: c.a.object,
          allowMultipleUploads: c.a.bool,
        });
      var Ge = n(22),
        $e = n(6),
        Xe = n(10),
        Ye = n(164),
        Ke = n(534),
        Ze = n(646),
        Je = n(11);
      t.a = Object(r.connect)(
        (e, t) => {
          const { conversation: n } = t,
            { composerState: r } = n,
            a = n.id,
            o = e.borderless && e.borderless.conversationId,
            i = n.lastParticipatingAdmin,
            s = n.defaultMessage || Ze.a.loadDraft(a),
            l = e.app && e.app.officeHoursResponse,
            c = e.app.userConversationAttachmentsEnabled,
            d = e.app.userConversationGifsEnabled,
            p = Object(Je.a)(e),
            u = Object(Ke.d)(e),
            m = Object(Je.p)(e),
            h = u && !m,
            b = h ? Object(B.e)('start_typing') : null,
            { replyPlaceholder: g } = n,
            f = void 0 === a ? Object(B.e)('send_a_message') : Object(B.e)('reply_to_conversation');
          return {
            conversationId: a,
            borderlessConversationId: o,
            lastParticipatingAdmin: i,
            officeHoursResponse: l,
            defaultText: s,
            placeholder: (p ? null : Object(B.e)('ask_a_question_placeholder')) || b || g || f,
            showUploadButton: c,
            showGifButton: d,
            shouldAskForSuggestedAnswers: h,
            allowMultipleUploads: !(void 0 === a || r.customBotActive),
          };
        },
        (e) => ({
          onTyping: (t) => {
            e(Object($e.u)(t));
          },
          onChange: (t, n, r) => {
            r && e(n ? Object(Ye.c)(n, t) : Object(Ye.a)(null, t)),
              Ze.a.saveDraft(t, n),
              e(Object($e.b)(t, n, new Date()));
          },
          onSubmit: (t, n, r, a, o, i, s, l, c, d) => {
            const p = { clientId: n, createdAt: o, body: r, file: a };
            e(Object($e.j)(ae.b, t, p, !1, i, s, l, c, d)), Ze.a.removeDraft(t);
          },
          toggleUpfrontEmailCollectorState: () => {
            e(Object(Xe.m)());
          },
        }),
        (e, t, n) =>
          Object.assign({}, e, t, n, {
            onTyping: (n) => {
              t.onTyping(e.conversationId, n);
            },
            onChange: (n) => {
              t.onChange(e.conversationId, n, e.shouldAskForSuggestedAnswers);
            },
            onSubmit: (n, r, a, o) => {
              t.onSubmit(
                e.conversationId,
                Object(Ge.b)(),
                n,
                r,
                new Date(),
                e.conversationId === e.borderlessConversationId,
                e.lastParticipatingAdmin,
                e.officeHoursResponse,
                a,
                o
              );
            },
          })
      )(composer_Composer);
    },
    function (e, t, n) {
      'use strict';
      var r = n(52),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(39),
        l = n(506),
        c = n(461),
        d = n(463),
        p = n(831),
        u = n.n(p),
        m = n(832),
        h = n.n(m),
        b = n(654),
        g = n.n(b),
        f = n(655),
        v = n.n(f),
        x = n(468);
      const y = ({ theme: e, isOpen: t, saveState: n }) =>
          Object(c.b)(
            'display:flex;position:relative;height:40px;padding:0 0 0 16px;border-radius:4px;font-size:14px;line-height:40px;background-color:',
            e.white,
            ';border:1px solid ',
            e.inputBorder,
            ';color:',
            e.bodyText,
            ';&:focus{border:1px solid ',
            e.appColorSemiTransparent,
            ';}&,*{cursor:pointer;}',
            t && Object(c.b)('border:1px solid ', e.appColorSemiTransparent, ';'),
            ' ',
            ('saved' === n || 'saving' === n) &&
              Object(c.b)('border:1px solid ', e.appColor, ';&,*{cursor:default;}'),
            ' ',
            'saved' === n &&
              Object(c.b)(
                'border-color:',
                e.lightGrey3,
                ';background-color:',
                e.inputBackground,
                ';color:',
                e.grey,
                ';'
              )
          ),
        j = Object(c.c)('div', { target: 'e1aidjjb0' })(
          y,
          ' ',
          ({ isDisabled: e, theme: t }) =>
            e && Object(c.b)('&:focus{border:1px solid ', t.inputBorder, ';}&,*{cursor:default;}')
        ),
        O = {
          name: '1uls13w',
          styles: 'flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;',
        },
        C = Object(c.c)('span', { target: 'e1aidjjb1' })(O),
        w = Object(c.c)('span', { target: 'e1aidjjb2' })(
          O,
          ' color:',
          Object(c.f)('appColor'),
          ';font-weight:600;border:0;',
          ({ theme: e }) => e.isPrimaryColorLight && Object(c.b)('color:', e.grey, ';'),
          ' ',
          ({ isDisabled: e, theme: t }) => e && Object(c.b)('color:', t.disabledInputText, ';')
        ),
        E = Object(c.c)('span', { target: 'e1aidjjb3' })(
          'width:35px;background-position:center;',
          Object(d.b)(u.a, h.a, '8px', '4px')
        ),
        k = Object(c.c)('span', { target: 'e1aidjjb4' })(
          'width:35px;background-position:center;',
          Object(d.b)(g.a, v.a, '14px', '12px')
        ),
        S = Object(c.c)(x.a, { target: 'e1aidjjb5' })(
          'z-index:',
          Object(d.m)(3),
          ';position:fixed;box-shadow:0 1px 15px rgba(0,0,0,0.1);border-radius:4px;'
        ),
        _ = Object(c.c)('div', { target: 'e1aidjjb6' })(
          'padding:10px 0;max-height:120px;background-color:',
          Object(c.f)('white'),
          ';overflow:scroll;'
        ),
        P = Object(c.c)('div', { target: 'e1aidjjb7' })({
          name: '79elbk',
          styles: 'position:relative;',
        }),
        T = Object(c.c)('select', { target: 'e1aidjjb8' })(
          y,
          ' width:100%;height:42px;',
          Object(d.b)(u.a, h.a, '8px', '4px'),
          ';background-position:calc(100% - 13.5px);font-weight:600;appearance:none;padding-right:35px;font-family:',
          Object(c.f)('fontSansSerif'),
          ';color:',
          Object(c.f)('appColor'),
          ';',
          d.l,
          ' &:disabled{color:',
          Object(c.f)('grey'),
          ';&:focus{border:1px solid ',
          Object(c.f)('inputBorder'),
          ';}&,*{cursor:default;}}'
        );
      var B = n(462),
        N = n(220),
        A = n(537),
        M = n(157),
        I = n(493);
      const z = Object(c.c)('svg', { target: 'e10fs9qi0' })();
      function L() {
        return i.a.createElement(
          z,
          {
            'focusable': 'false',
            'aria-hidden': 'true',
            'width': '16',
            'height': '16',
            'viewBox': '0 0 16 16',
            'xmlns': 'http://www.w3.org/2000/svg',
          },
          i.a.createElement('path', {
            d: 'M13.933 3.09a.35.35 0 0 0-.495.026l-7.236 8.012-3.757-3.393a.35.35 0 0 0-.495.025l-.86.951a.35.35 0 0 0 .026.495l4.96 4.48a.34.34 0 0 0 .17.082.346.346 0 0 0 .34-.107l8.324-9.217a.35.35 0 0 0-.026-.494l-.951-.86z',
          })
        );
      }
      const R = Object(c.c)('div', { target: 'e13m2ftc0' })(
        'padding:6px 28px 6px 14px;line-height:20px;position:relative;',
        ({ isSelected: e, theme: t }) =>
          e &&
          Object(c.b)(
            z.className,
            '{position:absolute;width:16px;height:16px;top:calc(50% - 8px);right:8px;fill:',
            t.appColor,
            ';}'
          ),
        ' ',
        ({ disabled: e, theme: t }) =>
          e && Object(c.b)('color:', t.grey, ';&:hover{cursor:default;}'),
        ' ',
        ({ isSelected: e, disabled: t, theme: n }) =>
          e && t && Object(c.b)(z.className, '{fill:', n.grey, ';}'),
        ' ',
        ({ disabled: e, theme: t }) =>
          !e && Object(c.b)('&:hover{color:', t.white, ';background-color:', t.appColor, ';}'),
        ' ',
        ({ disabled: e, theme: t }) =>
          !e && t.isPrimaryColorLight && Object(c.b)('&:hover{color:', t.black, ';}'),
        ' ',
        ({ isSelected: e, disabled: t, theme: n }) =>
          e && !t && Object(c.b)('&:hover{', z.className, '{fill:', n.white, ';}}')
      );
      class list_option_ListAttributeOption extends o.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = (e) => {
              const { id: t, text: n, onClick: r, disabled: a } = this.props;
              a ? e.stopPropagation() : r({ id: t, text: n });
            }),
            (n = 'handleClick') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        render() {
          const { id: e, text: t, disabled: n, isSelected: r } = this.props;
          return i.a.createElement(
            R,
            {
              'className': 'intercom-list-attribute-option',
              'key': e,
              'onClick': this.handleClick,
              'role': 'option',
              'aria-selected': r,
              'aria-disabled': n,
              'isSelected': r,
              'disabled': n,
            },
            r ? i.a.createElement(L, null) : null,
            t
          );
        }
      }
      function F(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class list_options_ListOptions extends o.Component {
        constructor(...e) {
          super(...e),
            F(this, 'listOptionsNode', void 0),
            F(this, 'state', { value: this.props.value || null }),
            F(this, 'handleChange', (e) => {
              this.setState({ value: e }), this.props.onChange(e);
            });
        }
        componentDidMount() {
          this.listOptionsNode &&
            this.listOptionsNode.firstChild &&
            this.listOptionsNode.firstChild.focus();
        }
        componentWillUnmount() {
          this.props.listRef && this.props.listRef.focus();
        }
        renderOption(e, t) {
          const { value: n } = this.state;
          return i.a.createElement(list_option_ListAttributeOption, {
            key: t,
            id: e.id,
            text: e.text,
            disabled: this.props.disabled || !!e.disabled,
            isSelected: !!n && n.id === e.id,
            onClick: this.handleChange,
          });
        }
        render() {
          const e = this.props.options.map((e, t) => this.renderOption(e, t));
          return i.a.createElement(
            _,
            { role: 'listbox', ref: (e) => (this.listOptionsNode = e) },
            e
          );
        }
      }
      var D = n(467);
      function H(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class list_options_modal_ListOptionsModal extends o.Component {
        constructor(...e) {
          super(...e),
            H(this, 'state', { frameHeight: 0 }),
            H(this, 'setFrameHeight', (e) => {
              this.setState({ frameHeight: e });
            });
        }
        findDomElement(e) {
          return parent.document.querySelector(e) || document.querySelector(e);
        }
        getListDimensionsWithinFrame() {
          return this.props.listRef
            ? this.props.listRef.getBoundingClientRect()
            : { top: 0, bottom: 0, left: 0, width: 0 };
        }
        getListRefParentFrameDimensions() {
          const e = Object(M.d)() || Object(M.c)() || Object(M.e)() || Object(M.a)();
          return e ? e.getBoundingClientRect() : { top: 0, left: 0 };
        }
        shouldOpenListOptionsUpwards() {
          const e = this.getListDimensionsWithinFrame(),
            t = this.getListRefParentFrameDimensions(),
            n = Object(M.f)() - (t.top + e.bottom),
            r = t.top + e.top;
          return this.state.frameHeight > n && r > n;
        }
        calculateModalPositionStyles() {
          const { frameHeight: e } = this.state,
            t = this.getListDimensionsWithinFrame(),
            n = this.getListRefParentFrameDimensions(),
            r = n.left + t.left;
          let a = n.top + t.bottom;
          return (
            this.shouldOpenListOptionsUpwards() && (a = n.top + t.top - e),
            { height: e, width: t.width, top: a, left: r }
          );
        }
        renderModalFrame() {
          const { options: e, value: t, onChange: n, listRef: r, disabled: a } = this.props;
          return i.a.createElement(
            S,
            {
              frameName: 'intercom-list-options-modal-frame',
              style: this.calculateModalPositionStyles(),
              removeBodyMargin: !0,
            },
            () =>
              i.a.createElement(
                D.b,
                { onHeightChange: this.setFrameHeight },
                i.a.createElement(list_options_ListOptions, {
                  role: 'listbox',
                  value: t,
                  options: e,
                  onChange: n,
                  listRef: r,
                  disabled: a,
                })
              )
          );
        }
        renderModal() {
          if (this.props.isMessengerCardView) return this.renderModalFrame();
          {
            const e = this.findDomElement('#intercom-css-container');
            return i.a.createElement(A.a, { target: e, isSandbox: !1 }, this.renderModalFrame());
          }
        }
        render() {
          const e = this.findDomElement('#intercom-modal-container');
          return Object(I.createPortal)(this.renderModal(), e);
        }
      }
      var W = Object(B.connect)((e) => ({ isMessengerCardView: Object(N.a)(e) }))(
          list_options_modal_ListOptionsModal
        ),
        q = n(529),
        U = n(9);
      function V(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class mobile_list_MobileList extends o.Component {
        constructor(...e) {
          super(...e),
            V(this, 'listRef', void 0),
            V(this, 'handleChange', (e) => {
              this.props.onChange(e.currentTarget.value);
            });
        }
        componentDidMount() {
          this.listRef && this.props.autoFocus && this.listRef.focus();
        }
        renderOptions() {
          return this.props.options.map((e) => {
            const { id: t, text: n, disabled: r } = e;
            return i.a.createElement('option', { key: t, value: t, disabled: r }, n);
          });
        }
        render() {
          const { disabled: e, value: t, isOpen: n } = this.props,
            r = t ? t.id : '';
          return i.a.createElement(
            T,
            {
              'aria-disabled': e,
              'aria-label': (t ? t.text : Object(s.e)('choose_one')) || 'List',
              'ref': (e) => (this.listRef = e),
              'onChange': this.handleChange,
              'disabled': e,
              'isOpen': n,
              'defaultValue': r,
              'tabIndex': '0',
            },
            i.a.createElement(
              'option',
              { disabled: !0, hidden: !0, value: '' },
              Object(s.e)('choose_one')
            ),
            this.renderOptions()
          );
        }
      }
      function G(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      V(mobile_list_MobileList, 'defaultProps', { autoFocus: !1, disabled: !1, isOpen: !1 }),
        n.d(t, 'a', function () {
          return list_ListAttribute;
        });
      class list_ListAttribute extends o.Component {
        constructor(...e) {
          super(...e),
            G(this, 'listRef', void 0),
            G(this, 'state', {
              value: this.props.value || null,
              isOpen: !1,
              prevProps: this.props,
            }),
            G(this, 'shouldRenderNativePicker', () => {
              const { renderNativePickerInMobile: e } = this.props;
              return Object(U.i)() && e;
            }),
            G(this, 'closeIfEventOutsideList', (e) => {
              this.eventTargetIsNotInsideList(e.target) &&
                this.state.isOpen &&
                this.setState({ isOpen: !1 });
            }),
            G(this, 'eventTargetIsNotInsideList', (e) => this.listRef && !this.listRef.contains(e)),
            G(this, 'handleOpenToggle', (e) => {
              e.preventDefault(),
                this.props.disabled || this.setState({ isOpen: !this.state.isOpen });
            }),
            G(this, 'handleChange', (e) => {
              const t = this.props.options.find((t) => t.id === e);
              t && (this.setState({ value: t }), this.props.onChange(t));
            });
        }
        static getDerivedStateFromProps(e, t) {
          if (!t || a()(e, t.prevProps)) return null;
          const n = e.value || t.value || null;
          return e.disabled ? { isOpen: !1, prevProps: e, value: n } : { value: n, prevProps: e };
        }
        componentDidMount() {
          this.props.frameWindow &&
            !this.shouldRenderNativePicker() &&
            this.props.frameWindow.document.addEventListener(
              'click',
              this.closeIfEventOutsideList,
              !1
            ),
            this.listRef && this.props.autoFocus && this.listRef.focus(),
            Object(q.b)(this.closeIfEventOutsideList);
        }
        componentWillUnmount() {
          this.props.frameWindow &&
            !this.shouldRenderNativePicker() &&
            this.props.frameWindow.document.removeEventListener(
              'click',
              this.closeIfEventOutsideList
            ),
            Object(q.c)(this.closeIfEventOutsideList);
        }
        getPlaceholder() {
          return this.state.value ? this.state.value.text : Object(s.e)('choose_one');
        }
        renderIcon() {
          const { saveState: e } = this.props;
          return 'saved' === e || 'saving' === e
            ? i.a.createElement(k, null)
            : i.a.createElement(E, null);
        }
        renderErrorMessage() {
          return i.a.createElement(l.a, { errorMessage: Object(s.e)('something_is_wrong') });
        }
        renderOptionsModal() {
          const { value: e, options: t, disabled: n, onChange: r } = this.props;
          return i.a.createElement(W, {
            value: e,
            options: t,
            disabled: n,
            onChange: r,
            listRef: this.listRef,
          });
        }
        renderList() {
          const { disabled: e, saveState: t } = this.props,
            { isOpen: n } = this.state;
          return i.a.createElement(
            j,
            {
              'onClick': this.handleOpenToggle,
              'ref': (e) => (this.listRef = e),
              'aria-disabled': e,
              'aria-label': this.getPlaceholder() || 'List',
              'saveState': t,
              'isDisabled': e,
              'isOpen': n,
              'className': 'intercom-list-attribute',
            },
            i.a.createElement(w, { isDisabled: e }, this.getPlaceholder()),
            i.a.createElement(E, null),
            this.state.isOpen && this.renderOptionsModal()
          );
        }
        renderMobileList() {
          const { options: e, disabled: t, saveState: n, autoFocus: r } = this.props,
            { isOpen: a, value: o } = this.state;
          return i.a.createElement(mobile_list_MobileList, {
            value: o,
            options: e,
            disabled: t,
            saveState: n,
            autoFocus: r,
            isOpen: a,
            onClick: this.handleOpenToggle,
            onChange: this.handleChange,
          });
        }
        renderUnsubmitted() {
          const { saveState: e } = this.props;
          return i.a.createElement(
            P,
            null,
            this.shouldRenderNativePicker() ? this.renderMobileList() : this.renderList(),
            'failed' === e && this.renderErrorMessage()
          );
        }
        renderSubmitted() {
          const { saveState: e, disabled: t } = this.props,
            { isOpen: n } = this.state;
          return i.a.createElement(
            j,
            {
              'saveState': e,
              'isDisabled': t,
              'isOpen': n,
              'aria-disabled': !0,
              'className': 'intercom-list-attribute',
            },
            i.a.createElement(C, null, this.getPlaceholder()),
            this.renderIcon()
          );
        }
        render() {
          const { saveState: e } = this.props;
          return 'unsaved' === e || 'failed' === e
            ? this.renderUnsubmitted()
            : this.renderSubmitted();
        }
      }
      G(list_ListAttribute, 'defaultProps', {
        autoFocus: !1,
        disabled: !1,
        renderNativePickerInMobile: !1,
      });
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(466),
        i = n(583);
      class video_player_captions_VideoPlayerCaptions extends r.Component {
        splitCaptions() {
          return this.props.captions.split(/\s*[\r\n]+\s*/);
        }
        getCurrentCaption() {
          const { currentTime: e, duration: t } = this.props,
            n = this.splitCaptions(),
            r = t / n.length,
            a = Math.floor(e / r);
          return n[Math.min(a, n.length - 1)];
        }
        render() {
          return this.props.duration
            ? a.a.createElement(i.a, null, this.getCurrentCaption())
            : null;
        }
      }
      var s = n(39),
        l = n(461);
      const c = { name: '7zjkqo', styles: 'width:24px;height:24px;fill:white;cursor:pointer;' },
        d = Object(l.c)('svg', { target: 'e1uzzndu0' })(c),
        p = Object(l.c)('svg', { target: 'e1uzzndu1' })(c);
      var u = ({ onClick: e }) =>
        a.a.createElement(
          p,
          { 'viewBox': '0 0 24 24', 'aria-label': Object(s.e)('play'), 'onClick': e },
          a.a.createElement('path', {
            d: 'M7 17.6942V6.30578C7 5.72693 7.62791 5.36628 8.1279 5.65794L17.5192 11.1362C18.1807 11.5221 18.1807 12.4779 17.5192 12.8638L8.1279 18.3421C7.62791 18.6337 7 18.2731 7 17.6942Z',
          })
        );
      var m = ({ onClick: e }) =>
          a.a.createElement(
            d,
            { 'viewBox': '0 0 24 24', 'aria-label': Object(s.e)('pause'), 'onClick': e },
            a.a.createElement('rect', { x: '7', y: '6', width: '3', height: '12', rx: '1' }),
            a.a.createElement('rect', { x: '14', y: '6', width: '3', height: '12', rx: '1' })
          ),
        h = n(52),
        b = n.n(h),
        g = n(37),
        f = n.n(g),
        v = n(81),
        x = n(660);
      function y(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class video_player_scrubber_VideoPlayerScrubber extends r.Component {
        constructor(...e) {
          super(...e),
            y(this, 'state', { currentTime: 0, seeking: !1, prevProps: this.props }),
            y(
              this,
              'handleSeek',
              f()(() => {
                this.props.onSeek(this.state.currentTime);
              }, 50)
            ),
            y(this, 'handleMouseDown', () => {
              this.setState({ seeking: !0 }), this.props.onSeekStart();
            }),
            y(this, 'handleMouseUp', () => {
              this.setState({ seeking: !1 }), this.props.onSeekEnd();
            }),
            y(this, 'handleSlide', ({ target: e }) => {
              this.setState({ currentTime: parseInt(e.value, 10) / 1e5 }), this.handleSeek();
            }),
            y(this, 'handleClick', (e) => {
              e.preventDefault();
            });
        }
        static getDerivedStateFromProps(e, t) {
          return !t || b()(e, t.prevProps)
            ? null
            : t.seeking || e.currentTime === t.prevProps.currentTime
            ? { prevProps: e }
            : { currentTime: e.currentTime, prevProps: e };
        }
        render() {
          const { duration: e } = this.props,
            { currentTime: t } = this.state;
          return a.a.createElement(x.a, {
            'type': 'range',
            'aria-label': Object(s.e)('seek_video'),
            'min': 0,
            'max': 1e5 * e,
            'value': 1e5 * t,
            'onChange': this.handleSlide,
            'onMouseDown': this.handleMouseDown,
            'onTouchStart': this.handleMouseDown,
            'onMouseUp': this.handleMouseUp,
            'onTouchEnd': this.handleMouseUp,
            'onClick': this.handleClick,
            'onBlur': v.d,
          });
        }
      }
      var j = n(601);
      function O(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class video_player_controls_VideoPlayerControls extends r.PureComponent {
        constructor(...e) {
          super(...e),
            O(this, 'handlePlay', (e) => {
              e.stopPropagation(), this.props.onPlay(e);
            }),
            O(this, 'handlePause', (e) => {
              e.stopPropagation(), this.props.onPause();
            });
        }
        getTimeRemaining() {
          const { currentTime: e, duration: t } = this.props;
          if (null === e) return null;
          const n = Math.ceil(t - e),
            r = '0' + (n % 60);
          return `${('0' + Math.floor(n / 60)).substr(-2)}:${r.substr(-2)}`;
        }
        render() {
          const {
            playing: e,
            muted: t,
            currentTime: n,
            duration: r,
            onSeek: o,
            onSeekStart: i,
            onSeekEnd: l,
            onToggleMute: c,
            showAudioControl: d,
            playState: p,
            shiftUp: h,
            hasCaptions: b,
          } = this.props;
          return a.a.createElement(
            j.d,
            { dir: 'ltr', hasCaptions: b, shiftUp: h, playState: p },
            e
              ? a.a.createElement(m, { onClick: this.handlePause })
              : a.a.createElement(u, { onClick: this.handlePlay }),
            a.a.createElement(video_player_scrubber_VideoPlayerScrubber, {
              currentTime: n,
              duration: r,
              onSeek: o,
              onSeekStart: i,
              onSeekEnd: l,
            }),
            a.a.createElement(j.a, null, this.getTimeRemaining()),
            d
              ? a.a.createElement(j.c, {
                  'muted': t,
                  'playState': p,
                  'aria-label': t ? Object(s.e)('play_sound') : Object(s.e)('mute_sound'),
                  'onClick': c,
                })
              : null
          );
        }
      }
      var C = n(472);
      var w = () =>
          a.a.createElement(
            'svg',
            {
              'focusable': 'false',
              'aria-hidden': 'true',
              'width': '30',
              'height': '30',
              'viewBox': '0 0 30 30',
            },
            a.a.createElement('path', {
              d: 'M15 8v3.793a.491.491 0 0 1-.268.444.496.496 0 0 1-.585-.09L9.354 7.353a.5.5 0 0 1 0-.708l4.793-4.792a.5.5 0 0 1 .854.353V6a9 9 0 1 1-8.945 9.998C5.994 15.45 6.447 15 7 15c.552 0 .992.45 1.07.997A7 7 0 1 0 15 8z',
            })
          ),
        E = n(9),
        k = n(528);
      function S(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'b', function () {
        return _;
      }),
        n.d(t, 'a', function () {
          return video_player_VideoPlayer;
        });
      const _ = {
        autoPlay: !0,
        showControls: !0,
        retries: 3,
        onPlayFromStart: () => {},
        onComplete: () => {},
        onVideoLoaded: () => {},
        onMuteChange: () => {},
        onReplay: () => {},
        onError: () => {},
        loop: !1,
      };
      class video_player_VideoPlayer extends r.PureComponent {
        constructor(...e) {
          super(...e),
            S(this, '_video', void 0),
            S(this, 'container', void 0),
            S(this, 'loadTime', void 0),
            S(this, 'hideControlsTimeout', void 0),
            S(this, 'posterImage', void 0),
            S(this, 'state', {
              playState: 'loading',
              wasPlayingBeforeSeek: !1,
              isMuted: void 0 !== this.props.muted ? this.props.muted : this.props.autoPlay,
              readyToPlayFromStart: !0,
              loadAttempt: 0,
              videoWidth: 0,
              videoHeight: 0,
              duration: 0,
              currentTime: 0,
              userTriggeredPlayAtLeastOnce: !1,
              showControls: !1,
              seeking: !1,
            }),
            S(this, 'handleClick', (e) => {
              e.stopPropagation();
              const t = 'playing' === this.state.playState ? 'paused' : 'playing';
              'playing' === t && this.props.onReplay(),
                this.setState({ playState: t, userTriggeredPlayAtLeastOnce: !0 });
            }),
            S(this, 'handlePlay', () => {
              !Object(E.i)() || this.state.userTriggeredPlayAtLeastOnce || this.props.autoPlay
                ? (this.playVideo(),
                  this.state.readyToPlayFromStart &&
                    (this.setState({ readyToPlayFromStart: !1 }), this.props.onPlayFromStart()))
                : this.handlePause();
            }),
            S(this, 'handlePause', () => {
              this.setState({ playState: 'paused' });
            }),
            S(this, 'handlePosterLoaded', () => {
              this.setState({ playState: 'posterLoaded' });
            }),
            S(this, 'handleComplete', () => {
              if (this.state.seeking) return;
              const e = this.video();
              e &&
                (e.pause(),
                this.setState({ readyToPlayFromStart: !0, playState: 'complete' }),
                this.props.onComplete());
            }),
            S(this, 'handleLoad', () => {
              this.storeVideoInfo(),
                this.props.autoPlay ? this.playVideo() : this.setState({ playState: 'ready' });
              const e = new Date() - this.loadTime;
              this.props.onVideoLoaded(e);
            }),
            S(this, 'handleError', () => {
              this.props.retries === this.state.loadAttempt && this.props.onError(),
                this.setState(({ loadAttempt: e }, { retries: t }) => {
                  if (e < t) return { loadAttempt: e + 1 };
                });
            }),
            S(this, 'handleSeek', (e) => {
              const t = this.video();
              t && ((t.currentTime = e), this.handleTimeUpdate());
            }),
            S(this, 'handleTimeUpdate', () => {
              const e = this.video();
              e && this.setState({ currentTime: e.currentTime });
            }),
            S(this, 'handleAudioChange', (e) => {
              e.stopPropagation(), this.video() && this.setState({ isMuted: !this.state.isMuted });
            }),
            S(this, 'handleSeekStart', () => {
              this.setState({
                wasPlayingBeforeSeek: 'playing' === this.state.playState,
                seeking: !0,
              }),
                this.handlePause();
            }),
            S(this, 'handleSeekEnd', () => {
              this.setState({ seeking: !1 }, () => {
                const { currentTime: e, duration: t, wasPlayingBeforeSeek: n } = this.state;
                e === t ? this.handleComplete() : n && this.playVideo();
              });
            }),
            S(this, 'handleMouseEnter', () => {
              this.showControls();
            }),
            S(this, 'handleMouseLeave', () => {
              this.hideControls();
            }),
            S(this, 'handleTouchStart', (e) => {
              e.stopPropagation(), this.showControls(), this.startHideControlsTimeout();
            }),
            S(this, 'startHideControlsTimeout', () => {
              clearTimeout(this.hideControlsTimeout),
                (this.hideControlsTimeout = setTimeout(() => {
                  this.state.seeking ? this.startHideControlsTimeout() : this.hideControls();
                }, 2e3));
            }),
            S(this, 'showControls', () => {
              this.setState({ showControls: !0 });
            }),
            S(this, 'hideControls', () => {
              this.setState({ showControls: !1 });
            });
        }
        storeVideoInfo() {
          const e = this.video();
          if (!e) return;
          const { videoWidth: t, videoHeight: n, duration: r } = e;
          this.setState({ videoWidth: t, videoHeight: n, duration: r });
        }
        componentDidMount() {
          (this.loadTime = new Date()),
            (this.posterImage = new Image()),
            this.posterImage.addEventListener('load', this.handlePosterLoaded),
            (this.posterImage.src = this.props.thumbnailUrl);
        }
        componentWillUnmount() {
          clearTimeout(this.hideControlsTimeout),
            this.posterImage.removeEventListener('load', this.handlePosterLoaded);
        }
        componentDidUpdate(e, t) {
          const n = this.video();
          n &&
            (t.playState !== this.state.playState &&
              ('paused' === this.state.playState
                ? n.pause()
                : 'playing' === this.state.playState && n.play()),
            e.muted !== this.props.muted && this.setState({ isMuted: this.props.muted }),
            t.isMuted !== this.state.isMuted &&
              ((n.muted = this.state.isMuted), this.props.onMuteChange(this.state.isMuted)),
            void 0 !== this.props.startTime &&
              e.startTime !== this.props.startTime &&
              this.handleSeek(this.props.startTime));
        }
        playVideo() {
          this.setState({ playState: 'playing' });
        }
        video() {
          return this._video;
        }
        videoHasAudio() {
          const e = this.video();
          return !!e && !1 !== e.mozHasAudio && 0 !== e.webkitAudioDecodedByteCount;
        }
        renderCaptions() {
          const { playState: e, currentTime: t, duration: n } = this.state,
            { captions: r } = this.props;
          return -1 !== ['playing', 'paused'].indexOf(e) && r
            ? a.a.createElement(video_player_captions_VideoPlayerCaptions, {
                captions: r,
                currentTime: t,
                duration: n,
              })
            : null;
        }
        renderOverlay() {
          const { playState: e } = this.state;
          return 'loading' === e
            ? null
            : a.a.createElement(k.d, { playState: e, mobile: Object(E.i)() }, this.renderButton());
        }
        getButtonAriaLabel() {
          switch (this.state.playState) {
            case 'ready':
              return 'Play';
            case 'complete':
              return 'Replay';
          }
        }
        renderButton() {
          const { playState: e } = this.state;
          return 'playing' === e || 'paused' === e
            ? null
            : a.a.createElement(
                k.a,
                {
                  'onClick': this.handleClick,
                  'aria-label': this.getButtonAriaLabel(),
                  'complete': 'complete' === e,
                },
                this.renderButtonIcon()
              );
        }
        renderButtonIcon() {
          const { playState: e } = this.state;
          return 'complete' === e ? a.a.createElement(w, null) : a.a.createElement(u, null);
        }
        renderLoadingPanel() {
          return a.a.createElement(
            o.TransitionGroup,
            null,
            'loading' === this.state.playState
              ? a.a.createElement(
                  o.CSSTransition,
                  { classNames: 'intercom-video-loading', timeout: { enter: 200, exit: 200 } },
                  a.a.createElement(
                    'div',
                    { className: 'intercom-video-loading' },
                    a.a.createElement(C.a, null)
                  )
                )
              : null
          );
        }
        renderControls() {
          if (!this.props.showControls) return null;
          const {
            currentTime: e,
            duration: t,
            playState: n,
            isMuted: r,
            seeking: o,
            wasPlayingBeforeSeek: i,
          } = this.state;
          return a.a.createElement(video_player_controls_VideoPlayerControls, {
            currentTime: e,
            duration: t,
            onSeek: this.handleSeek,
            onSeekStart: this.handleSeekStart,
            onSeekEnd: this.handleSeekEnd,
            onPlay: this.handleClick,
            onPause: this.handlePause,
            playing: 'playing' === n || (o && i),
            playState: n,
            muted: r,
            onToggleMute: this.handleAudioChange,
            showAudioControl: this.videoHasAudio(),
            shiftUp: this.shouldShiftBottomOverlayUp(),
            hasCaptions: !!this.props.captions,
          });
        }
        getStyle() {
          const e = this.state.videoWidth < this.state.videoHeight;
          return Object(E.i)()
            ? { flexDirection: e ? 'row' : 'column', marginTop: 0 }
            : { flexDirection: e ? 'row' : 'column' };
        }
        getVideoStyle() {
          return { [this.state.videoWidth < this.state.videoHeight ? 'width' : 'height']: '100%' };
        }
        getSrc() {
          const { loadAttempt: e } = this.state,
            { srcUrl: t } = this.props;
          return 0 === e ? t : `${t}?attempt=${e}`;
        }
        shouldShiftBottomOverlayUp() {
          return (
            -1 !== ['complete', 'paused'].indexOf(this.state.playState) ||
            this.state.showControls ||
            !this.props.showControls
          );
        }
        render() {
          const {
              autoPlay: e,
              loop: t,
              thumbnailUrl: n,
              captions: r,
              showControls: o,
            } = this.props,
            { playState: i, loadAttempt: l, isMuted: c } = this.state;
          return a.a.createElement(
            k.c,
            {
              hasCaptions: !!r,
              hasAudio: this.videoHasAudio(),
              noControls: !o,
              playState: i,
              ref: (e) => (this.container = e),
              onMouseEnter: this.handleMouseEnter,
              onMouseLeave: this.handleMouseLeave,
            },
            a.a.createElement(
              k.e,
              { style: this.getStyle() },
              a.a.createElement(
                'video',
                {
                  'style': this.getVideoStyle(),
                  'onError': this.handleError,
                  'onPlay': this.handlePlay,
                  'onPause': this.handlePause,
                  'onEnded': this.handleComplete,
                  'onLoadedData': this.handleLoad,
                  'onTimeUpdate': this.handleTimeUpdate,
                  'autoPlay': Object(E.i)() || e,
                  'muted': c,
                  'playsInline': !0,
                  'ref': (e) => (this._video = e),
                  'onTouchStart': this.handleTouchStart,
                  'onClick': this.handleClick,
                  'aria-label': Object(s.e)('play_video'),
                  'loop': t,
                  'poster': n,
                  'onKeyDown': (e) => (13 === e.keyCode || 32 === e.keyCode) && this.handleClick(e),
                  'tabIndex': '0',
                },
                a.a.createElement('source', { src: this.getSrc(), key: l, type: 'video/mp4' })
              )
            ),
            a.a.createElement(
              k.b,
              {
                shiftUp: this.shouldShiftBottomOverlayUp(),
                isLoading: 'loading' === i,
                hasCaptions: !!r,
              },
              this.renderCaptions(),
              this.renderControls()
            ),
            this.renderOverlay(),
            this.renderLoadingPanel()
          );
        }
      }
      S(video_player_VideoPlayer, 'defaultProps', _);
    },
    ,
    ,
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(39),
        i = n(506),
        s = n(472),
        l = n(461);
      const c = Object(l.c)('button', { target: 'e11ihgs10' })(
          'margin:0;border:1px solid ',
          Object(l.f)('attributeButtonColor'),
          ';color:',
          Object(l.f)('attributeButtonColor'),
          ';display:inline-block;padding:8px 2px;cursor:pointer;border-radius:0;border-right:none;flex:1 0 0px;text-align:center;position:relative;&:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px;}&:last-child{border-right:1px solid ',
          Object(l.f)('attributeButtonColor'),
          ';border-top-right-radius:4px;border-bottom-right-radius:4px;}',
          ({ theme: e, saveState: t, disabled: n, isSelected: r }) =>
            ('unsaved' === t || 'failed' === t) &&
            !n &&
            Object(l.b)(
              'color:',
              e.attributeButtonColor,
              ';&,*{cursor:pointer;}&:hover,&:focus{background-color:',
              e.attributeButtonHoverColor,
              ';}&:active{background-color:',
              e.attributeButtonActiveColor,
              ';}&:last-child:hover,&:last-child:focus{margin-right:0;}',
              r && Object(l.b)('background-color:', e.attributeButtonColor, ';color:', e.white, ';')
            ),
          ' ',
          ({ theme: e, saveState: t, disabled: n, isSelected: r }) =>
            ('saved' === t || n) &&
            Object(l.b)(
              '&,*{cursor:default;}color:',
              e.grey,
              ';border-color:',
              e.attributeButtonColor,
              ';',
              r && Object(l.b)('background-color:', e.attributeButtonColor, ';color:', e.white, ';')
            ),
          ' ',
          ({ saveState: e, isSelected: t, theme: n }) =>
            'saving' === e &&
            Object(l.b)(
              '&,*{cursor:default;}',
              t && Object(l.b)('background-color:', n.attributeButtonColor, ';color:', n.white, ';')
            )
        ),
        d = Object(l.c)('span', { target: 'e11ihgs11' })({
          name: 'k9je6h',
          styles:
            'font-weight:600;font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;text-align:center;line-height:1.5;opacity:1;',
        });
      class button_group_option_ButtonGroupOption extends r.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = () => {
              const { id: e, text: t, onClick: n, disabled: r } = this.props;
              r || n({ id: e, text: t });
            }),
            (n = 'handleClick') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        renderText() {
          const { text: e, isSelected: t, isLoading: n } = this.props;
          return t && n
            ? a.a.createElement(s.a, { size: 'small', color: 'white' })
            : a.a.createElement(d, null, e);
        }
        render() {
          const { id: e, isSelected: t, disabled: n, saveState: r } = this.props;
          return a.a.createElement(
            c,
            {
              'key': e,
              'onClick': this.handleClick,
              'aria-disabled': n,
              'isSelected': t,
              'disabled': n,
              'saveState': r,
            },
            this.renderText()
          );
        }
      }
      const p = Object(l.c)('div', { target: 'e1g38dp10' })({
        name: '65j5og',
        styles: 'box-sizing:border-box;display:flex;max-width:100%;margin-bottom:8px;',
      });
      function u(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'a', function () {
        return button_group_ButtonGroupAttribute;
      });
      class button_group_ButtonGroupAttribute extends r.Component {
        constructor(...e) {
          super(...e),
            u(this, 'state', { value: this.props.value }),
            u(this, 'handleChange', (e) => {
              const { saveState: t, disabled: n } = this.props;
              'saved' === t ||
                'saving' === t ||
                n ||
                (this.setState({ value: e }), this.props.onChange(e));
            });
        }
        renderOption(e, t) {
          const { disabled: n, isLoading: r, saveState: o } = this.props,
            { value: i } = this.state;
          return a.a.createElement(button_group_option_ButtonGroupOption, {
            key: t,
            id: e.id,
            text: e.text,
            disabled: n || !!e.disabled,
            isSelected: !!i && i.id === e.id,
            isLoading: r,
            onClick: this.handleChange,
            saveState: o,
          });
        }
        renderOptions() {
          const { options: e, disabled: t } = this.props;
          return a.a.createElement(
            p,
            { 'aria-disabled': t },
            e.map((e, t) => this.renderOption(e, t))
          );
        }
        render() {
          return a.a.createElement(
            'div',
            null,
            this.renderOptions(),
            'failed' === this.props.saveState &&
              a.a.createElement(i.a, { errorMessage: Object(o.e)('something_is_wrong') })
          );
        }
      }
    },
    function (e, t, n) {
      'use strict';
      var r = n(464),
        a = n.n(r),
        o = n(460),
        i = n.n(o),
        s = n(471),
        l = n(603),
        c = n(555),
        d = n(647);
      function p(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const u = (e) => 'messengerCard' === e.type,
        m = (e) => !u(e),
        h = (e) => 'paragraph' === e.type && !e.text;
      class BlockGroup {
        constructor() {
          p(this, 'blocks', []);
        }
        addBlock(e) {
          this.blocks.push(e);
        }
      }
      class BlockGroups {
        constructor() {
          p(this, 'groups', []);
        }
        addBlock(e) {
          let t = this.groups[this.groups.length - 1];
          (t && t.blocks.every(m) && m(e)) || ((t = new BlockGroup()), this.groups.push(t)),
            t.addBlock(e);
        }
      }
      class comment_body_CommentBody extends o.PureComponent {
        getBlockGroups() {
          const e = new BlockGroups();
          return this.props.part.body.forEach((t) => e.addBlock(t)), e;
        }
        renderBlockGroup(e, t, n) {
          const {
              part: r,
              zoomable: a,
              maxImageWidth: o,
              onImageClick: l,
              isLastPart: p,
              frameWindow: b,
              isBorderless: g,
              hasAvatar: f,
            } = this.props,
            {
              author: { isAdmin: v, isSelf: x },
            } = r,
            y = this.props.showInlineMetadata && n && e.blocks.every(m),
            j = e.blocks.every(h),
            O = e.blocks.every(m),
            C = e.blocks.every(u);
          return j
            ? null
            : i.a.createElement(
                d.a,
                {
                  key: t,
                  isText: O,
                  hasAvatar: f,
                  isMessengerCard: C,
                  isBorderless: g,
                  isAdmin: v,
                  isUser: x,
                },
                i.a.createElement(s.a, {
                  blocks: e.blocks,
                  author: r.author,
                  zoomable: a,
                  maxImageWidth: o,
                  onImageClick: l,
                  isLastPart: p,
                  frameWindow: b,
                }),
                y ? i.a.createElement(c.a, { part: r }) : null
              );
        }
        render() {
          const e = this.getBlockGroups();
          return i.a.createElement(
            d.b,
            null,
            e.groups.map((t, n) => this.renderBlockGroup(t, n, n === e.groups.length - 1))
          );
        }
      }
      var b = n(501),
        g = n(41),
        f = n(510),
        v = n(558),
        x = n(507);
      function y() {
        return (y =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      class comment_Comment extends o.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = { tooltipVisible: !1 }),
            (n = 'state') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        isMessengerCard() {
          return this.props.part.body.some((e) => 'messengerCard' === e.type);
        }
        shouldRenderCommentBody() {
          return this.isMessengerCard();
        }
        shouldRenderInlineMetadata() {
          return this.props.showInlineMetadata && !this.shouldRenderCommentBody();
        }
        renderTimestamp() {
          const { showCreatedAt: e, createdAt: t, body: n } = this.props.part;
          if (!e) return null;
          const r = Object(f.a)(n),
            a = this.shouldRenderCommentBody();
          return i.a.createElement(x.b, { isSingleBlock: r, hasBody: a }, Object(b.a)(t));
        }
        renderBlocks() {
          const {
              part: e,
              isMobile: t,
              isBorderless: n,
              hasAvatar: r,
              showInlineMetadata: a,
              onImageClick: o,
              isLastPart: l,
              frameWindow: c,
            } = this.props,
            { body: d, author: p } = e;
          return this.shouldRenderCommentBody()
            ? i.a.createElement(comment_body_CommentBody, {
                part: e,
                isLastPart: l,
                zoomable: !t,
                isBorderless: n,
                hasAvatar: r,
                showInlineMetadata: a,
                maxImageWidth: 232,
                onImageClick: o,
                frameWindow: c,
              })
            : i.a.createElement(s.a, {
                autoPlay: !1,
                blocks: d,
                author: p,
                zoomable: !t,
                maxImageWidth: 232,
                onImageClick: o,
                frameWindow: c,
              });
        }
        renderSticker() {
          return i.a.createElement(l.a, { text: Object(g.d)(this.props.part.body[0]) });
        }
        renderBody() {
          const { body: e } = this.props.part;
          return 1 === e.length && Object(f.c)(e[0]) ? this.renderSticker() : this.renderBlocks();
        }
        render() {
          const { part: e, isMobile: t, isBorderless: n, hasAvatar: r } = this.props,
            {
              showCreatedAt: a,
              createdAt: o,
              body: s,
              author: { isAdmin: l, isSelf: d },
            } = e,
            p = t || !a || this.isMessengerCard(),
            u = Object(f.a)(s),
            m = this.shouldRenderCommentBody();
          return i.a.createElement(v.a, { content: o && Object(b.a)(o), enabled: !p }, (t, a) =>
            i.a.createElement(
              x.a,
              y({}, a, {
                className: u ? 'intercom-comment-single' : 'intercom-comment',
                isSingleBlock: u,
                hasBody: m,
                isAdmin: l,
                isUser: d,
                isFailed: 'failed' === e.saveState,
                isBorderless: n,
                hasAvatar: r,
              }),
              this.renderBody(),
              this.renderTimestamp(),
              this.shouldRenderInlineMetadata()
                ? i.a.createElement(c.a, { part: this.props.part })
                : null,
              t
            )
          );
        }
      }
      (comment_Comment.defaultProps = { isMobile: !1, isBorderless: !1 }),
        (comment_Comment.propTypes = {
          part: a.a.object.isRequired,
          isMobile: a.a.bool,
          isBorderless: a.a.bool,
          frameWindow: a.a.object,
          hasAvatar: a.a.bool,
          showInlineMetadata: a.a.bool,
          onImageClick: a.a.func,
          isLastPart: a.a.bool,
        });
      var j = n(485),
        O = n(663),
        C = n(553);
      n.d(t, 'a', function () {
        return comment_container_CommentContainer;
      });
      class comment_container_CommentContainer extends o.Component {
        renderAdminAvatar() {
          return i.a.createElement(
            C.a,
            { isBorderless: this.props.isBorderless },
            i.a.createElement(j.a, { author: this.props.part.author })
          );
        }
        renderComment() {
          const {
            part: e,
            hasAvatar: t,
            isMobile: n,
            isBorderless: r,
            frameWindow: a,
            showInlineMetadata: o,
            onImageClick: s,
            isLastPart: l,
          } = this.props;
          return i.a.createElement(comment_Comment, {
            isLastPart: l,
            part: e,
            isMobile: n,
            isBorderless: r,
            frameWindow: a,
            hasAvatar: t,
            showInlineMetadata: o,
            onImageClick: s,
          });
        }
        render() {
          const {
              isBorderless: e,
              hasAvatar: t,
              part: {
                author: { isAdmin: n, isSelf: r },
                body: a,
              },
            } = this.props,
            o = Object(f.a)(a);
          return i.a.createElement(
            O.a,
            { hasAvatar: t, isBorderless: e, isSingleBlock: o, isAdmin: n, isUser: r },
            this.props.hasAvatar && this.props.showAvatar ? this.renderAdminAvatar() : null,
            this.renderComment()
          );
        }
      }
      (comment_container_CommentContainer.defaultProps = {
        showAvatar: !0,
        hasAvatar: !1,
        isBorderless: !1,
        isMobile: !1,
      }),
        (comment_container_CommentContainer.propTypes = {
          part: a.a.object.isRequired,
          showAvatar: a.a.bool,
          hasAvatar: a.a.bool,
          isBorderless: a.a.bool,
          isMobile: a.a.bool,
          frameWindow: a.a.object,
          showInlineMetadata: a.a.bool,
          onImageClick: a.a.func,
          isLastPart: a.a.bool,
        });
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(488),
        i = n.n(o),
        s = n(485),
        l = n(587),
        c = n(471),
        d = n(555),
        p = n(497),
        u = n(603),
        m = n(41),
        h = n(510),
        b = n(476);
      function g(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class chat_card_ChatCard extends r.Component {
        constructor(...e) {
          super(...e),
            g(this, 'state', { isScrollable: !1, isScrolled: !1 }),
            g(this, 'handleScrollable', () => {
              this.setState({ isScrollable: !0 });
            }),
            g(this, 'handleScroll', (e) => {
              this.setState({ isScrolled: e.target.scrollTop > 0 });
            });
        }
        renderAdminAvatar() {
          const {
            part: { author: e },
          } = this.props;
          return a.a.createElement(
            b.b,
            { isAuthorTypeTeam: 'team' === e.type },
            a.a.createElement(s.a, { author: e })
          );
        }
        renderInlineMetadata() {
          return a.a.createElement(d.a, { part: this.props.part });
        }
        renderStickerOrBlocks() {
          const {
            part: { author: e, body: t },
            frameWindow: n,
          } = this.props;
          return 1 === t.length && Object(h.c)(t[0])
            ? a.a.createElement(u.a, { text: Object(m.d)(t[0]) })
            : a.a.createElement(c.a, { blocks: t, zoomable: !0, author: e, frameWindow: n });
        }
        renderSingleBody() {
          return a.a.createElement(b.c, null, this.renderStickerOrBlocks());
        }
        renderAuthor() {
          const {
              appName: e,
              part: { messageType: t, author: n },
            } = this.props,
            { isScrolled: r } = this.state,
            o = 'adminReply' === t;
          return a.a.createElement(
            b.a,
            { isScrolled: r },
            a.a.createElement(l.a, { author: n, appName: e, isReplyStyle: o })
          );
        }
        renderFullBody() {
          const { isBorderless: e } = this.props,
            { isScrollable: t } = this.state;
          return a.a.createElement(
            'div',
            null,
            this.props.showAuthor ? this.renderAuthor() : null,
            a.a.createElement(
              b.d,
              { isScrollable: t, isBorderless: e },
              a.a.createElement(
                p.a,
                { onScrollable: this.handleScrollable, onScroll: this.handleScroll },
                this.renderStickerOrBlocks()
              )
            )
          );
        }
        render() {
          const {
              hasAvatar: e,
              showAvatar: t,
              isBorderless: n,
              showInlineMetadata: r,
              isMobile: o,
              part: { body: s },
            } = this.props,
            l = Object(h.a)(s),
            c = i()({
              'intercom-chat-card': !(l && n),
              'intercom-chat-card-borderless-single': l && n,
            });
          return a.a.createElement(
            b.e,
            { className: c, isSingleBlock: l, isBorderless: n, showAvatar: e && t, isMobile: o },
            e && t ? this.renderAdminAvatar() : null,
            l && n ? this.renderSingleBody() : this.renderFullBody(),
            r ? this.renderInlineMetadata() : null
          );
        }
      }
      g(chat_card_ChatCard, 'defaultProps', {
        isBorderless: !1,
        showAuthor: !0,
        showAvatar: !0,
        hasAvatar: !0,
      });
      var f = n(690);
      n.d(t, 'a', function () {
        return chat_card_group_ChatCardGroup;
      });
      const v = /^<br>/,
        x = /<br>$/;
      class chat_card_group_ChatCardGroup extends r.Component {
        buildNewPart() {
          return Object.assign({}, this.props.part, { body: [] });
        }
        cleanBlockWithPattern(e, t) {
          e.text && (e.text = e.text.trim().replace(t, ''));
        }
        cleanAdjacentBlocks(e, t) {
          'messengerCard' === e.type && 'paragraph' === t.type
            ? this.cleanBlockWithPattern(t, v)
            : 'paragraph' === e.type &&
              'messengerCard' === t.type &&
              this.cleanBlockWithPattern(e, x);
        }
        cleanParts(e) {
          return e.map((e, t, n) => {
            if (t < n.length - 1) {
              const r = n[t + 1],
                a = e.body.length - 1;
              this.cleanAdjacentBlocks(e.body[a], r.body[0]);
            }
            return e;
          });
        }
        splitPartByBlockType() {
          const e = [];
          let t = null;
          return (
            this.props.part.body.forEach((n) => {
              ('paragraph' === n.type && '' === n.text) ||
                ((0 !== e.length && 'messengerCard' !== n.type && 'messengerCard' !== t) ||
                  e.push(this.buildNewPart()),
                e[e.length - 1].body.push(n),
                (t = n.type));
            }),
            this.cleanParts(e)
          );
        }
        renderCommentContainer(e, t, n) {
          const {
            hasAvatar: r,
            isBorderless: o,
            isMobile: i,
            showInlineMetadata: s,
            frameWindow: l,
          } = this.props;
          return a.a.createElement(f.a, {
            key: t,
            part: e,
            showAvatar: n,
            hasAvatar: r,
            isBorderless: o,
            isMobile: i,
            frameWindow: l,
            showInlineMetadata: s,
          });
        }
        renderChatCard(e, t, n, r) {
          const {
            appName: o,
            hasAvatar: i,
            isBorderless: s,
            showInlineMetadata: l,
            frameWindow: c,
            isMobile: d,
          } = this.props;
          return a.a.createElement(chat_card_ChatCard, {
            key: t,
            appName: o,
            part: e,
            showAuthor: n,
            showAvatar: r,
            hasAvatar: i,
            isBorderless: s,
            showInlineMetadata: l,
            frameWindow: c,
            isMobile: d,
          });
        }
        renderPart(e, t, n, r) {
          return 1 === e.body.length && 'messengerCard' === e.body[0].type
            ? this.renderCommentContainer(e, t, r)
            : this.renderChatCard(e, t, n, r);
        }
        renderParts(e) {
          return e.map((t, n) => {
            const r = 0 === n,
              a = n === e.length - 1;
            return this.renderPart(t, n, r, a);
          });
        }
        render() {
          const e = this.splitPartByBlockType();
          return a.a.createElement('div', null, this.renderParts(e));
        }
      }
      var y, j, O;
      (O = { isBorderless: !1, isMobile: !1, hasAvatar: !0 }),
        (j = 'defaultProps') in (y = chat_card_group_ChatCardGroup)
          ? Object.defineProperty(y, j, {
              value: O,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (y[j] = O);
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(461),
        i = n(505);
      const s = { name: '1hj024c', styles: 'top:9px;left:-2px;z-index:1;' },
        l = { name: 'yd4jrz', styles: 'top:9px;right:-2px;z-index:2;' },
        c = { name: '71gyhe', styles: 'top:-1px;left:6px;z-index:2;' },
        d = { name: 'g7a820', styles: 'top:15px;right:14px;z-index:3;' },
        p = { name: '4dozc1', styles: 'top:15px;left:14px;z-index:1;' },
        u = Object(o.b)(
          'width:100%;height:100%;line-height:35px;',
          i.a.className,
          ' &{width:36px;height:36px;line-height:36px;}'
        ),
        m = { name: 'c7bh53', styles: 'width:20px;height:20px;line-height:20px;' },
        h = ({ theme: e, index: t, numOfAvatars: n }) =>
          Object(o.b)(
            'border-radius:50%;position:absolute;border:2px solid ',
            e.white,
            ';background-color:',
            e.avatarBackgroundColor,
            ';color:white;text-align:center;font-size:16px;',
            1 === n ? u : m,
            ' ',
            ((e, t) => {
              switch (t) {
                case 2:
                  switch (e) {
                    case 0:
                      return s;
                    case 1:
                      return l;
                    default:
                      return '';
                  }
                case 3:
                  switch (e) {
                    case 0:
                      return c;
                    case 1:
                      return d;
                    case 2:
                      return p;
                    default:
                      return '';
                  }
                default:
                  return '';
              }
            })(t, n)
          ),
        b = Object(o.c)('div', { target: 'eddlj7y0' })(h),
        g = Object(o.c)('img', { target: 'eddlj7y1' })(h),
        f = Object(o.c)('div', { target: 'eddlj7y2' })({
          name: '12sca19',
          styles: 'width:35px;height:35px;position:relative;float:left;',
        });
      function v(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'a', function () {
        return team_avatar_TeamAvatar;
      });
      class team_avatar_TeamAvatar extends r.PureComponent {
        constructor(...e) {
          super(...e),
            v(this, 'renderInitial', (e, t, n) => {
              const { firstName: r } = e,
                o = r.charAt(0).toUpperCase();
              return a.a.createElement(b, { key: t, index: t, numOfAvatars: n }, o);
            }),
            v(this, 'renderImage', (e, t, n) => {
              const {
                  firstName: r,
                  avatar: { square128: o },
                } = e,
                i = `${r || 'admin'} avatar`;
              return a.a.createElement(g, { key: t, src: o, alt: i, index: t, numOfAvatars: n });
            }),
            v(this, 'renderAvatar', (e, t, n) =>
              e.avatar.square128 ? this.renderImage(e, n, t) : this.renderInitial(e, n, t)
            );
        }
        render() {
          const e = this.props.admins.filter(Boolean).slice(0, 3);
          return a.a.createElement(
            f,
            null,
            e.map((t, n) => this.renderAvatar(t, e.length, n))
          );
        }
      }
      v(team_avatar_TeamAvatar, 'defaultProps', { admins: [] });
    },
    function (e, t, n) {
      'use strict';
      var r = n(52),
        a = n.n(r),
        o = n(460),
        i = n.n(o);
      var s = (e, t) => {
        const n = [];
        let r = 0;
        const a = (a) => {
          const o = Date.now();
          (r = r + t < o ? o : r + t), n.push(setTimeout(() => e(a), r - o));
        };
        return (
          (a.cancel = () => {
            n.forEach(clearTimeout);
          }),
          a
        );
      };
      function l() {
        return (l =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function c(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function d(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? c(Object(n), !0).forEach(function (t) {
                p(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : c(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function p(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const u = (e) => e.map((e, t) => t),
        m = (e, t) => e.map((e) => t[e]).filter(Boolean);
      t.a = (e) =>
        class IndexedConversationWrapper extends o.PureComponent {
          constructor(...e) {
            super(...e),
              p(this, 'state', { partIndices: u(this.props.conversation.parts) }),
              p(this, 'handleNewPart', (e) => {
                const { partIndices: t } = this.state;
                -1 === t.indexOf(e) && this.setState({ partIndices: t.concat(e) });
              }),
              p(this, 'handleNewDelayedPart', s(this.handleNewPart, 1e3));
          }
          componentDidUpdate(e) {
            if (a()(e, this.props)) return;
            const { parts: t, fetchState: n } = e.conversation,
              { parts: r, fetchState: o } = this.props.conversation,
              i = u(r),
              s = i.slice(t.length);
            'summary' !== n || 'all' !== o
              ? s.forEach((e) =>
                  r[e].author.isSelf ? this.handleNewPart(e) : this.handleNewDelayedPart(e)
                )
              : this.setState({ partIndices: i });
          }
          componentWillUnmount() {
            this.handleNewDelayedPart.cancel();
          }
          render() {
            const { parts: t } = this.props.conversation,
              n = d(d({}, this.props.conversation), {}, { parts: m(this.state.partIndices, t) });
            return i.a.createElement(e, l({}, this.props, { conversation: n }));
          }
        };
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(556),
        i = n(650),
        s = n(39),
        l = n(81),
        c = n(653);
      function d() {
        return (d =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function p(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function u(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class phone_number_input_PhoneNumberInput extends r.PureComponent {
        constructor(...e) {
          super(...e),
            u(this, 'handleChange', (e) => {
              this.props.onChange(e.target.value.trim());
            }),
            u(this, 'handleKeyDown', (e) => {
              13 === e.keyCode && (e.preventDefault(), this.props.onSubmit());
            }),
            u(this, 'handleFocus', (e) => {
              const { value: t } = e.target;
              (e.target.value = ''), (e.target.value = t);
            });
        }
        renderFlag() {
          const { defaultCountryCode: e, value: t } = this.props,
            n = Object(o.a)(t),
            r = n ? n.code : e;
          return a.a.createElement(c.a, { countryCode: r });
        }
        renderPlaceholder() {
          const { value: e, placeholder: t, saveState: n } = this.props,
            r = this.isDisabled();
          return a.a.createElement(
            c.b,
            { disabled: r, saveState: n },
            0 === t.indexOf(e) &&
              a.a.createElement(
                'span',
                null,
                a.a.createElement(c.c, null, e),
                a.a.createElement('span', null, t.replace(e, ''))
              )
          );
        }
        isDisabled() {
          const { saveState: e } = this.props;
          return this.props.disabled || 'saving' === e || 'saved' === e;
        }
        renderInput() {
          const { value: e, isBorderless: t, isReplyType: n } = this.props,
            r = this.isDisabled(),
            o = !(t && n);
          return a.a.createElement('input', {
            'name': 'phone',
            'type': 'text',
            'disabled': r,
            'autoFocus': o,
            'defaultValue': e,
            'onFocus': this.handleFocus,
            'onKeyDown': this.handleKeyDown,
            'onChange': this.handleChange,
            'onBlur': l.d,
            'aria-label': Object(s.e)('phone_number'),
          });
        }
        render() {
          const { saveState: e, isInvalid: t } = this.props,
            n = 'saving' === e,
            r = n || this.isDisabled(),
            o = (function (e) {
              for (var t = 1; t < arguments.length; t++) {
                var n = null != arguments[t] ? arguments[t] : {};
                t % 2
                  ? p(Object(n), !0).forEach(function (t) {
                      u(e, t, n[t]);
                    })
                  : Object.getOwnPropertyDescriptors
                  ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
                  : p(Object(n)).forEach(function (t) {
                      Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                    });
              }
              return e;
            })(
              { 'aria-label': n ? Object(s.e)('loading') : Object(s.e)('submit') },
              n ? { role: 'progressbar' } : {}
            );
          return a.a.createElement(
            c.d,
            { saveState: e, isInvalid: t },
            this.renderFlag(),
            this.renderPlaceholder(),
            this.renderInput(),
            a.a.createElement(c.f, null),
            a.a.createElement(
              c.e,
              d({ disabled: r, onClick: this.props.onSubmit, saveState: e }, o),
              a.a.createElement(i.a, { disabled: r, loading: n })
            )
          );
        }
      }
      var m = n(506);
      function h(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      n.d(t, 'a', function () {
        return phone_number_PhoneNumberAttribute;
      });
      class phone_number_PhoneNumberAttribute extends r.Component {
        constructor(...e) {
          super(...e),
            h(this, 'state', {
              value: this.props.value || `${Object(o.b)(this.props.defaultCountryCode)} `,
              isValid: !0,
            }),
            h(this, 'handleChange', (e) => {
              this.setState({ value: e, isValid: !0 });
            }),
            h(this, 'handleSubmit', () => {
              const { value: e } = this.state;
              Object(o.d)(e) ? this.props.onSubmit(e) : this.setState({ isValid: !1 });
            });
        }
        getPlaceholder() {
          return `${Object(o.b)(this.props.defaultCountryCode)} 123 456 7890`;
        }
        getErrorMessage() {
          if (this.state.isValid) return Object(s.e)('something_is_wrong');
          {
            const e = Object(o.c)(this.state.value);
            return e ? Object(s.e)(e) : Object(s.e)('that_number_doesnt_look_quite_right');
          }
        }
        isInvalid() {
          return 'failed' === this.props.saveState || !this.state.isValid;
        }
        render() {
          const {
              saveState: e,
              defaultCountryCode: t,
              isBorderless: n,
              isReplyType: r,
              isNotificationChannel: o,
              disabled: i,
            } = this.props,
            s = this.getPlaceholder(),
            l = this.isInvalid();
          return a.a.createElement(
            'div',
            null,
            a.a.createElement(phone_number_input_PhoneNumberInput, {
              value: this.state.value,
              saveState: e,
              placeholder: s,
              defaultCountryCode: t,
              isInvalid: l,
              isBorderless: n,
              isReplyType: r,
              disabled: i,
              isNotificationChannel: o,
              onChange: this.handleChange,
              onSubmit: this.handleSubmit,
            }),
            l && a.a.createElement(m.a, { errorMessage: this.getErrorMessage() })
          );
        }
      }
    },
    function (e, t, n) {
      'use strict';
      var r = n(460),
        a = n.n(r),
        o = n(461),
        i = { name: '10o5hl1', styles: 'flex-direction:row;justify-content:center;' };
      const s = Object(o.c)('div', { target: 'eopabpu0' })(
          'display:flex;flex-direction:column;justify-content:flex-start;align-items:center;align-content:center;padding-top:2px;font-size:13px;color:',
          Object(o.f)('errorTextMuted'),
          ';svg{width:18px;height:18px;margin:5px;stroke:',
          Object(o.f)('errorTextMuted'),
          ';}',
          ({ inline: e }) => e && i
        ),
        l = Object(o.c)('span', { target: 'eopabpu1' })({
          name: '1qimanm',
          styles: 'text-decoration:underline;&:hover{cursor:pointer;}',
        });
      var c = n(632),
        d = n(39);
      const p = ({ children: e, inline: t, onRetry: n }) =>
        a.a.createElement(
          s,
          { inline: t },
          a.a.createElement(c.a, null),
          e,
          ' ',
          a.a.createElement(l, { onClick: n }, Object(d.e)('try_again'))
        );
      p.defaultProps = { inline: !1 };
      t.a = p;
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/fonts/proximanova-regular.a7942249.woff';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/fonts/proximanova-semibold.46e3f047.woff';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/fonts/proximanova-regular-italic.053a1112.woff';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/fonts/proximanova-semibold-italic.660bf63e.woff';
    },
    function (e, t, n) {
      var r = {
        './background-1.png': 777,
        './background-10.png': 778,
        './background-11.png': 779,
        './background-12.png': 780,
        './background-13.png': 781,
        './background-14.png': 782,
        './background-15.png': 783,
        './background-16.png': 784,
        './background-2.png': 785,
        './background-3.png': 786,
        './background-4.png': 787,
        './background-5.png': 788,
        './background-6.png': 789,
        './background-7.png': 790,
        './background-8.png': 791,
        './background-9.png': 792,
      };
      function a(e) {
        var t = o(e);
        return n(t);
      }
      function o(e) {
        if (!n.o(r, e)) {
          var t = new Error("Cannot find module '" + e + "'");
          throw ((t.code = 'MODULE_NOT_FOUND'), t);
        }
        return r[e];
      }
      (a.keys = function () {
        return Object.keys(r);
      }),
        (a.resolve = o),
        (e.exports = a),
        (a.id = 776);
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-1.9cde5385.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-10.5cdf3998.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-11.0f55b3a6.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-12.f1fbb874.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-13.361d6364.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-14.30924b67.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-15.248360ae.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-16.8e2e0b27.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-2.ce3907be.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-3.60608886.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-4.122f4c2f.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-5.dc164d3a.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-6.411a7002.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-7.390b24b1.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-8.12db1191.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/background-9.2b0eab6b.png';
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/emoji-spritemap-16.af4e0d5e.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/emoji-spritemap-32.5bf93f13.png';
    },
    ,
    ,
    ,
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/flags.4fc63683.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/flags@2x.a60fc35b.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/open-list-icon.a09533f7.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/open-list-icon@2x.22c61e88.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/dummy-rows.943c931a.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/dummy-rows@2x.567b64f5.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/close-button.3f88d81d.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/close-button@2x.0b71c094.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/next-icon.a9124933.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/next-icon@2x.f3c3e26a.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/check-icon.7cabe467.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/check-icon@2x.2c09c31c.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/send-button.48bc69b8.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/send-button@2x.40884887.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-1.d23e2d60.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-1@2x.a3ce1c38.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-2.b6481b2d.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-2@2x.bac056e1.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-3.347818fe.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-3@2x.b98f99f2.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-4.e79b0027.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-4@2x.76967faf.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-5.10d57bbf.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/rating-5@2x.e5f22789.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/warning-icon.cc84a0dd.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/warning-icon@2x.d238804a.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/attention.6a6e4cbc.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/search.23b42295.png';
    },
    function (e, t, n) {
      e.exports = 'https://js.intercomcdn.com/images/search@2x.b93d3be5.png';
    },
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    ,
    function (e, t, n) {
      'use strict';
      n.r(t);
      var r = n(460),
        a = n.n(r),
        o = n(493),
        i = n(462),
        s = n(513),
        l = n(537),
        c = n(495),
        d = n(63);
      var p = Object(i.connect)((e) => {
        const {
          color: t,
          secondaryColor: n,
          alignment: r,
          horizontalPadding: a,
          verticalPadding: o,
        } = Object(d.a)(e);
        return {
          primaryColor: t,
          secondaryColor: n,
          alignment: r,
          horizontalPadding: a,
          verticalPadding: o,
        };
      })(c.b);
      var u = ({ window: e, children: t }) =>
          e.__INTERCOM_DISABLE_STRICT_MODE__
            ? a.a.createElement(r.Fragment, null, t)
            : a.a.createElement(r.StrictMode, null, t),
        m = n(464),
        h = n.n(m),
        b = n(466),
        g = n(39),
        f = n(1),
        v = n(235),
        x = n(236),
        y = n(102),
        j = n(11),
        O = n(232),
        C = n(233),
        w = n(234);
      function E() {
        return a.a.createElement(
          'svg',
          {
            focusable: 'false',
            viewBox: '0 0 16 14',
            width: '28',
            height: '25',
            xmlns: 'http://www.w3.org/2000/svg',
          },
          a.a.createElement('path', {
            fillRule: 'evenodd',
            clipRule: 'evenodd',
            d: 'M.116 4.884l1.768-1.768L8 9.232l6.116-6.116 1.768 1.768L8 12.768.116 4.884z',
          })
        );
      }
      var k = () =>
        a.a.createElement(
          'svg',
          {
            'focusable': 'false',
            'aria-hidden': 'true',
            'viewBox': '0 0 28 32',
            'width': '28',
            'height': '32',
          },
          a.a.createElement('path', {
            d: 'M28,32 C28,32 23.2863266,30.1450667 19.4727818,28.6592 L3.43749107,28.6592 C1.53921989,28.6592 0,27.0272 0,25.0144 L0,3.6448 C0,1.632 1.53921989,0 3.43749107,0 L24.5615088,0 C26.45978,0 27.9989999,1.632 27.9989999,3.6448 L27.9989999,22.0490667 L28,22.0490667 L28,32 Z M23.8614088,20.0181333 C23.5309223,19.6105242 22.9540812,19.5633836 22.5692242,19.9125333 C22.5392199,19.9392 19.5537934,22.5941333 13.9989999,22.5941333 C8.51321617,22.5941333 5.48178311,19.9584 5.4277754,19.9104 C5.04295119,19.5629428 4.46760991,19.6105095 4.13759108,20.0170667 C3.97913051,20.2124916 3.9004494,20.4673395 3.91904357,20.7249415 C3.93763774,20.9825435 4.05196575,21.2215447 4.23660523,21.3888 C4.37862552,21.5168 7.77411059,24.5386667 13.9989999,24.5386667 C20.2248893,24.5386667 23.6203743,21.5168 23.7623946,21.3888 C23.9467342,21.2215726 24.0608642,20.9827905 24.0794539,20.7254507 C24.0980436,20.4681109 24.0195551,20.2135019 23.8614088,20.0181333 Z',
          })
        );
      function S() {
        return a.a.createElement(
          'svg',
          { 'aria-hidden': 'true', 'viewBox': '1 1 60 60' },
          a.a.createElement('path', {
            d: 'M27.765 42.244c-8.614 0-15.622-7.008-15.622-15.622S19.151 11 27.765 11s15.622 7.008 15.622 15.622-7.007 15.622-15.622 15.622zm0-28.398c-7.045 0-12.775 5.73-12.775 12.775s5.73 12.775 12.775 12.775 12.775-5.73 12.775-12.775-5.73-12.775-12.775-12.775z',
          }),
          a.a.createElement('path', {
            d: 'M34.869 39.146l4.014-3.738 9.286 9.114a3.164 3.164 0 01-.07 4.562l-.071.066a3.163 3.163 0 01-4.561-.257l-8.598-9.747zM27.77 34.173c-2.882 0-5.412-.876-7.656-2.526a1.002 1.002 0 01-.35-.81c.008-.461.445-.969 1.02-.959.284.005.493.153.713.308 1.837 1.302 3.832 1.971 6.275 1.971 1.875 0 4.492-.476 6.314-2.118a.98.98 0 01.638-.261.92.92 0 01.686.241c.222.209.33.527.336.735a1.02 1.02 0 01-.318.775c-1.333 1.237-4.262 2.644-7.658 2.644z',
          })
        );
      }
      var _ = n(157),
        P = n(512),
        T = n(2),
        B = n(461);
      const N = Object(B.c)('div', { target: 'e2ujk8f0' })(
        'position:absolute;top:0;left:0;width:60px;height:60px;border-radius:50%;cursor:pointer;transform-origin:center;backface-visibility:hidden;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;*{cursor:pointer;}',
        ({ theme: e }) => e.isMobile && Object(B.b)('background:', e.primaryColor, ';')
      );
      var A = { name: '1l0uucg', styles: 'transform:none;' };
      const M = ({ theme: e }) =>
        Object(B.b)(
          'display:flex;align-items:center;justify-content:center;position:absolute;top:0;bottom:0;width:100%;transition:transform 0.16s linear,opacity 0.08s linear;',
          e.isMobileSize && A
        );
      var I = { name: 'uqrg3l', styles: 'opacity:1;transform:none;' },
        z = { name: 'q8thtv', styles: 'transition:transform 0.4s ease 0.2s;' },
        L = { name: 'f37e19', styles: 'opacity:0;transform:rotate(30deg) scale(0);' };
      const R = Object(B.c)('div', { target: 'e2ujk8f1' })(
        M,
        ' opacity:1;transform:rotate(0deg) scale(1);svg{width:28px;height:32px;path{fill:',
        Object(B.f)('buttonTextColor'),
        ';}}',
        ({ active: e }) => e && L,
        ' ',
        ({ discoveryMode: e }) => e && z,
        ' ',
        ({ theme: e, active: t }) => t && e.isMobileSize && I
      );
      var F = { name: 'uqrg3l', styles: 'opacity:1;transform:none;' },
        D = { name: 'q8thtv', styles: 'transition:transform 0.4s ease 0.2s;' },
        H = { name: 'f37e19', styles: 'opacity:0;transform:rotate(30deg) scale(0);' };
      const W = Object(B.c)('div', { target: 'e2ujk8f2' })(
        M,
        ' opacity:1;transform:rotate(0deg) scale(1);svg{height:56px;path{fill:',
        Object(B.f)('buttonTextColor'),
        ';}}',
        ({ active: e }) => e && H,
        ' ',
        ({ discoveryMode: e }) => e && D,
        ' ',
        ({ theme: e, active: t }) => t && e.isMobileSize && F
      );
      var q = { name: 'q7lffx', styles: 'opacity:0;' },
        U = { name: 'zz6zft', styles: 'opacity:1;transform:rotate(0deg);' };
      const V = Object(B.c)('div', { target: 'e2ujk8f3' })(
          M,
          ' opacity:0;transform:rotate(-60deg);svg{width:16px;path{fill:',
          Object(B.f)('buttonTextColor'),
          ';}}',
          ({ active: e }) => e && U,
          ' ',
          ({ theme: e, active: t }) => t && e.isMobileSize && q
        ),
        G = Object(B.c)('img', { target: 'e2ujk8f4' })({
          name: '13fyfjp',
          styles: 'max-height:36px;max-width:36px;position:relative;',
        });
      function $(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class launcher_Launcher extends r.Component {
        constructor(...e) {
          super(...e),
            $(this, 'addLauncherClickMetric', (e) => {
              Object(T.e)('clicked', 'launcher', 'in_app', '', {
                is_messenger_open: e,
                is_custom_launcher: !1,
                is_borderless_open: this.props.isBorderlessOpen,
              }),
                Object(T.o)('openedMessenger', Date.now());
            }),
            $(this, 'handleLauncherClick', () => {
              const { onLauncherClick: e, isMessengerOpen: t } = this.props;
              this.addLauncherClickMetric(t), e();
            });
        }
        componentDidMount() {
          this.focusTrap = new P.a({
            document: this.props.frameWindow.document,
            disableStartingTrap: () => !0,
            disableEndingTrap: () => !this.props.isMessengerOpen,
            firstElement: () => Object(_.h)(),
          });
        }
        componentWillUnmount() {
          this.focusTrap && this.focusTrap.restore();
        }
        renderSelfServeIcon() {
          const { isMessengerOpen: e, isLauncherDiscoveryModeEnabled: t } = this.props;
          return a.a.createElement(W, { active: e, discoveryMode: t }, a.a.createElement(S, null));
        }
        renderLauncherIcon() {
          const {
            isMessengerOpen: e,
            isLauncherDiscoveryModeEnabled: t,
            launcherLogoUrl: n,
          } = this.props;
          return a.a.createElement(
            R,
            { active: e, discoveryMode: t },
            n ? a.a.createElement(G, { src: n, alt: '' }) : a.a.createElement(k, null)
          );
        }
        render() {
          const { isMessengerOpen: e, launcherLogoUrl: t, allowSelfServeIcon: n } = this.props,
            r = `intercom-launcher ${e ? 'intercom-launcher-active' : ''}`,
            o = !t && n;
          return a.a.createElement(
            N,
            {
              'className': r,
              'onClick': this.handleLauncherClick,
              'aria-label': e
                ? Object(g.e)('close_intercom_messenger')
                : Object(g.e)('open_intercom_messenger'),
            },
            o ? this.renderSelfServeIcon() : this.renderLauncherIcon(),
            a.a.createElement(V, { active: e }, a.a.createElement(E, null))
          );
        }
      }
      launcher_Launcher.propTypes = {
        allowSelfServeIcon: h.a.bool,
        isMessengerOpen: h.a.bool,
        isBorderlessOpen: h.a.bool,
        isLauncherDiscoveryModeEnabled: h.a.bool,
        isLauncherDiscoveryModeOpening: h.a.bool,
        onLauncherClick: h.a.func,
        frameWindow: h.a.object,
        launcherLogoUrl: h.a.string,
      };
      var X = n(10);
      var Y = Object(i.connect)(
          (e) => {
            const {
                app: { isMessengerOpen: t, launcherLogoUrl: n },
                launcherDiscoveryMode: {
                  isLauncherDiscoveryModeEnabled: r,
                  isLauncherDiscoveryModeOpening: a,
                },
                borderless: o,
              } = e,
              i = Object(j.c)(e);
            return {
              isMessengerOpen: t,
              isLauncherDiscoveryModeEnabled: r,
              isLauncherDiscoveryModeOpening: a,
              isBorderlessOpen: !!o && !!o.conversationId,
              launcherLogoUrl: n,
              allowSelfServeIcon: i,
            };
          },
          (e) => ({
            onLauncherClick: () => {
              e(Object(X.e)());
            },
          })
        )(launcher_Launcher),
        K = n(496);
      class launcher_CrossOriginLauncherFrame extends r.Component {
        render() {
          const { hasBadge: e } = this.props,
            t = `\n  z-index: 2147483003;\n  position: fixed;\n  bottom: ${
              (n = this.props).customization.verticalPadding
            }px;\n  right: ${
              n.customization.horizontalPadding
            }px;\n  width: 60px;\n  height: 60px;\n  border-radius: 50%;\n  background: ${
              n.colors.primaryColor
            };\n  border: none;\n  ${
              'left' === n.customization.alignment
                ? `left: ${n.customization.horizontalPadding}px; right: auto;`
                : ''
            }  \n  ${
              n.shouldRenderShadow
                ? 'box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.06), 0 2px 32px 0 rgba(0, 0, 0, 0.16);'
                : ''
            }\n`;
          var n;
          return a.a.createElement(
            K.a,
            { name: 'launcher', styles: t },
            a.a.createElement(Y, { frameWindow: window, hasBadge: e })
          );
        }
      }
      const Z = Object(f.createStructuredSelector)({
        isAppActive: v.a,
        isLauncherEnabled: y.a,
        isMessengerOpen: O.a,
        customization: d.b,
        accessibility: C.a,
        colors: w.a,
        launcherLogoUrl: j.m,
        allowSelfServeIcon: j.c,
        locale: x.a,
      });
      var J = Object(i.connect)((e) => Z(e))(launcher_CrossOriginLauncherFrame),
        Q = n(468),
        ee = n(463),
        te = { name: 'q7lffx', styles: 'opacity:0;' },
        ne = {
          name: '1bcihpb',
          styles: 'box-shadow:0 1px 6px 0 rgba(0,0,0,0.06),0 2px 32px 0 rgba(0,0,0,0.16);',
        },
        re = {
          name: 'ytdcl8',
          styles:
            'box-shadow:0 1px 6px rgba(0,0,0,0.06),0 2px 32px rgba(0,0,0,0.16);transition:box-shadow 80ms ease-in-out;pointer-events:auto;&:hover{box-shadow:0 2px 8px rgba(0,0,0,0.09),0 4px 40px rgba(0,0,0,0.24);}&:active{box-shadow:0 1px 6px rgba(0,0,0,0.06),0 2px 32px rgba(0,0,0,0.16);}',
        };
      const ae = Object(B.c)(Q.a, { target: 'e1ur5zlj0' })(
        'z-index:',
        Object(ee.m)(),
        ';position:fixed;bottom:',
        Object(B.f)('verticalPaddingPx'),
        'px;right:',
        Object(B.f)('horizontalPaddingPx'),
        'px;width:60px;height:60px;border-radius:50%;background:',
        Object(B.f)('appColor'),
        ';',
        ({ theme: e }) =>
          e.isLeftAlign && Object(B.b)('left:', e.horizontalPaddingPx, 'px;right:auto;'),
        ' ',
        ({ theme: e }) => e.isMobile && re,
        ' ',
        ({ shouldRenderShadow: e }) => e && ne,
        ' ',
        ({ theme: e, isMessengerOpen: t }) => e.isMobileSize && t && te
      );
      class launcher_LauncherFrame extends r.Component {
        render() {
          const { shouldRenderShadow: e, hasBadge: t, isMessengerOpen: n } = this.props;
          return a.a.createElement(
            ae,
            {
              className: 'intercom-launcher-frame',
              frameName: 'intercom-launcher-frame',
              title: 'Intercom live chat',
              ariaLiveAssertive: !1,
              shouldRenderShadow: e,
              isMessengerOpen: n,
            },
            (e) => a.a.createElement(Y, { frameWindow: e, hasBadge: t })
          );
        }
      }
      var oe = n(121);
      function ie(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const se = () => null;
      function le({
        loader: e,
        loading: t = se,
        error: n = se,
        maxAutoRetries: o = 3,
        name: i = 'Loadable',
        dependencies: s = [],
      }) {
        class Loadable extends r.Component {
          constructor(...r) {
            super(...r),
              ie(this, 'unmounted', !1),
              ie(this, 'state', { Component: null, Error: n, Loading: t, showError: !1 }),
              ie(this, 'load', () => {
                this.setState({ Component: null, showError: !1 });
                const t = [e, ...s].map((e) => e());
                return Object(oe.a)({ promise: () => Promise.all(t), maxRetries: o }).then(
                  ([e]) => {
                    this.unmounted || this.setState({ Component: e.default || e, showError: !1 });
                  },
                  () => {
                    this.unmounted || this.setState({ showError: !0 });
                  }
                );
              });
          }
          componentDidMount() {
            return this.load();
          }
          componentWillUnmount() {
            this.unmounted = !0;
          }
          render() {
            const { Component: e, Error: t, Loading: n, showError: r } = this.state;
            return r
              ? a.a.createElement(t, { handleRetry: this.load })
              : e
              ? a.a.createElement(e, this.props)
              : a.a.createElement(n, null);
          }
        }
        try {
          Object.defineProperty(Loadable, 'name', { value: i });
        } catch (e) {}
        return Loadable;
      }
      const ce = le({ loader: () => n.e(6).then(n.bind(null, 882)), name: 'LauncherDiscovery' });
      var de = n(94);
      var pe = n(95);
      var ue = Object(i.connect)(
        (e) => {
          const {
            launcherDiscoveryMode: {
              isLauncherDiscoveryModeOpening: t,
              isLauncherDiscoveryModeClosing: n,
            },
            app: { helpCenterSiteUrl: r },
          } = e;
          return {
            isLauncherDiscoveryModeOpening: t,
            isLauncherDiscoveryModeClosing: n,
            showDiscoveryLauncher:
              !((e) => {
                if (!e) return !1;
                const t = Object(de.a)();
                return !!t && e.replace(/(^\w+:|^)\/\//, '').startsWith(t);
              })(r) &&
              (t || n),
          };
        },
        (e) => ({
          onDiscoveryLauncherMouseEnter: () => {
            Object(pe.b)();
          },
          onDiscoveryLauncherMouseOut: () => {
            e(Object(pe.c)());
          },
          onLauncherDiscoveryClick: () => {
            e(Object(X.e)());
          },
        })
      )(function (e) {
        const { showDiscoveryLauncher: t } = e;
        return t ? a.a.createElement(ce, e) : null;
      });
      const me = Object(B.c)('div', { target: 'etisdho0' })(
        'position:fixed;top:0;right:0;background:',
        Object(B.f)('unreadDot'),
        ';width:22px;height:22px;line-height:22px;border-radius:50%;color:',
        Object(B.f)('white'),
        ';font-size:12px;font-weight:500;text-align:center;'
      );
      var he = n(526);
      class launcher_badge_LauncherBadge extends r.Component {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = (e) => {
              Object(T.e)('received', 'badge', 'in_app', 'from_launcher', { conversation_id: e });
            }),
            (n = 'sendBadgeReceivedMetric') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        componentDidMount() {
          const { unreadConversationIds: e } = this.props;
          e.forEach((e) => {
            this.sendBadgeReceivedMetric(e);
          });
        }
        componentDidUpdate(e) {
          const t = this.props.unreadConversationIds,
            n = e.unreadConversationIds;
          t.filter((e) => n.indexOf(e) < 0).forEach((e) => {
            this.sendBadgeReceivedMetric(e);
          });
        }
        render() {
          return a.a.createElement(
            me,
            { id: 'launcher-badge-container' },
            this.props.unreadConversationIds.length,
            ' ',
            a.a.createElement(he.c, null, Object(g.e)('unread_messages'))
          );
        }
      }
      launcher_badge_LauncherBadge.propTypes = {
        unreadConversationIds: h.a.arrayOf(h.a.string).isRequired,
      };
      var be = n(55);
      var ge = Object(i.connect)((e) => ({ unreadConversationIds: Object(be.c)(e) }))(
        launcher_badge_LauncherBadge
      );
      const fe = Object(B.d)(
          '0%{opacity:0;transform:scale(0);}100%{opacity:1;transform:scale(1);}'
        ),
        ve = Object(B.c)(Q.a, { target: 'e1loc0kc0' })(
          'z-index:',
          Object(ee.m)(1),
          ';position:fixed;bottom:',
          ({ theme: e }) => e.verticalPaddingPx + 40,
          'px;right:',
          ({ theme: e }) => e.horizontalPaddingPx - 4,
          'px;width:22px;height:22px;box-shadow:0 1px 0 rgba(0,0,0,0.27);border-radius:50%;animation:',
          fe,
          ' 150ms ease 150ms 1 normal backwards;',
          ({ theme: e }) =>
            e.isLeftAlign &&
            Object(B.b)(
              'left:',
              e.horizontalPaddingPx - 4 + e.launcherBadgePaddingLeftPx,
              'px;right:auto;'
            )
        );
      class launcher_badge_LauncherBadgeFrame extends r.Component {
        render() {
          return a.a.createElement(
            ve,
            {
              className: 'intercom-launcher-badge-frame',
              frameName: 'intercom-launcher-badge-frame',
              title: `Intercom live chat ${Object(g.e)('notification')}`,
            },
            () => a.a.createElement(ge, null)
          );
        }
      }
      var xe = () =>
        '\n    z-index: 2147483004;\n    position: fixed;\n    bottom: 60px;\n    right: 16px;\n    width: 22px;\n    height: 22px;\n    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.27);\n    border-radius: 50%;\n    border: none;\n  ';
      class cross_origin_frames_launcher_badge_LauncherBadgeFrame extends r.Component {
        render() {
          const e = xe();
          return a.a.createElement(K.a, { name: 'badge', styles: e }, a.a.createElement(ge, null));
        }
      }
      var ye = n(122),
        je = n(487),
        Oe = n(52),
        Ce = n.n(Oe),
        we = n(488),
        Ee = n.n(we),
        ke = n(69),
        Se = n(165);
      const _e = Object(B.c)('div', { target: 'edndopr0' })(
          'z-index:',
          Object(B.f)('messengerSheetZIndex'),
          ';background-color:',
          Object(B.f)('white'),
          ';position:fixed;bottom:0;left:0;right:0;top:0;display:flex;flex-direction:column;'
        ),
        Pe = Object(B.c)('div', { target: 'edndopr1' })(
          '.intercom-messenger-sheet-enter{transform:translateY(100%);}.intercom-messenger-sheet-enter.intercom-messenger-sheet-enter-active{transform:translateY(0px);transition-property:transform;transition-duration:',
          '300ms',
          ';transition-timing-function:',
          'ease-in-out',
          ';}.intercom-messenger-sheet-exit{transform:translateY(0px);}.intercom-messenger-sheet-exit.intercom-messenger-sheet-exit-active{transform:translateY(100%);transition-property:transform;transition-duration:',
          '300ms',
          ';transition-timing-function:',
          'ease-in-out',
          ';}'
        ),
        Te = Object(B.c)('svg', { target: 'e1ipshzy0' })(
          'margin:0 auto;width:9px;height:15px;> g > g{fill:',
          Object(B.f)('headerTitleColor'),
          ';}'
        );
      function Be() {
        return a.a.createElement(
          Te,
          { 'focusable': 'false', 'aria-hidden': 'true' },
          a.a.createElement(
            'g',
            { fill: 'none' },
            a.a.createElement(
              'g',
              { fill: '#FFF' },
              a.a.createElement('polygon', {
                transform:
                  'translate(-40 -29)translate(47.071068 36.071068)rotate(-315)translate(-47.071068 -36.071068)',
                points: '44.3 38.8 44.3 31.1 42.1 31.1 42.1 40 42.1 41.1 52.1 41.1 52.1 38.8',
              })
            )
          )
        );
      }
      const Ne = ({ backgroundUrl: e, backgroundSize: t }) =>
        Object(B.b)(
          "&::before{content:'';opacity:0;position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none;transition:opacity 100ms ease-in;",
          e &&
            t &&
            Object(B.b)(
              'opacity:0.35;background-image:url(',
              e,
              ');background-size:',
              t,
              ',cover;'
            ),
          '}'
        );
      var Ae = { name: '15g9t7g', styles: 'transition:height 0ms;' };
      const Me = Object(B.c)('div', { target: 'e1nh735m0' })(
          'position:relative;min-height:75px;background:',
          Object(B.f)('gradientStartColor'),
          ';color:white;transition:height ',
          160,
          'ms ease-out;',
          ({ theme: e }) =>
            Object(B.b)(
              'background:linear-gradient( 135deg,',
              e.gradientStartColor,
              ' 0%,',
              e.gradientEndColor,
              ' 100% );'
            ),
          ' ',
          ({ lightBackground: e, theme: t }) => e && Object(B.b)('background:', t.white, ';'),
          ' ',
          ({ isScrolling: e }) => e && Ae,
          ' ',
          ({ lightBackground: e }) => !e && Ne,
          ' @media (-ms-high-contrast:active){border:1px solid white;}'
        ),
        Ie = Object(B.c)(Me, { target: 'ejn21m90' })({
          name: '1do1wi9',
          styles:
            'display:flex;flex-direction:row;align-items:center;justify-content:center;height:75px;',
        }),
        ze = Object(B.c)('div', { target: 'ejn21m91' })(
          'font-size:20px;color:',
          Object(B.f)('headerTitleColor'),
          ';'
        );
      function Le() {
        const e = Object(i.useSelector)(be.b);
        return e
          ? a.a.createElement(Re, { 'aria-label': Object(g.e)('unread_messages') }, e)
          : null;
      }
      const Re = Object(B.c)('span', { target: 'eqpxkcv0' })(
          'display:inline-block;right:0;top:0;background:#fc576b;width:22px;height:22px;line-height:22px;border-radius:50%;color:',
          Object(B.f)('white'),
          ';font-size:12px;font-weight:500;text-align:center;box-shadow:0 1px 0 rgba(0,0,0,0.27);position:absolute;'
        ),
        Fe = Object(B.c)('div', { target: 'e1qhgb490' })(
          'z-index:',
          Object(ee.m)(),
          ';position:absolute;background-position:center;width:51px;height:51px;margin:12px 2px 12px 8px;top:0;left:0;&,*{cursor:pointer;}'
        ),
        De = Object(B.c)('div', { target: 'e1qhgb491' })(
          'width:51px;height:51px;padding:8px;margin:0 auto;box-sizing:border-box;border-radius:',
          Object(B.f)('messengerBorderRadiusPx'),
          'px;display:flex;align-items:center;transform:translateZ(0);&:hover{background-color:rgba(0,0,0,0.5);}svg{',
          ee.i,
          '}',
          Re.className,
          '{width:20px;height:20px;line-height:20px;box-shadow:none;font-size:11px;font-weight:600;}'
        );
      var He = n(600);
      function We(e) {
        const [t, a] = Object(r.useState)(null),
          [o, i] = Object(r.useState)(null);
        return (
          Object(r.useEffect)(() => {
            if (!e) return;
            const t = n(776)(`./${e}.png`);
            a(t);
          }, [e]),
          Object(r.useEffect)(() => {
            t &&
              (async () => {
                const e = await Object(He.a)(t),
                  n = `${e.width / 2}px ${e.height / 2}px`;
                i(n);
              })();
          }, [t]),
          { backgroundUrl: t, backgroundSize: o }
        );
      }
      var qe = Object(i.connect)((e) => ({
        backgroundImage: e.app.backgroundImage,
        tabNavigation: e.accessibility.tabNavigation,
      }))(function (e) {
        const { sheetTitle: t, backgroundImage: n, onBackClick: r } = e,
          { backgroundUrl: o, backgroundSize: i } = We(n);
        return a.a.createElement(
          Ie,
          { backgroundUrl: o, backgroundSize: i },
          a.a.createElement(ze, null, t),
          a.a.createElement(
            Fe,
            { 'aria-label': Object(g.e)('navigation_back'), 'onClick': r },
            a.a.createElement(De, null, a.a.createElement(Be, null))
          )
        );
      });
      const Ue = Object(B.c)('div', { target: 'e1797nyl0' })(
          'z-index:',
          Object(B.f)('messengerSheetLoaderZIndex'),
          ';position:absolute;top:0;left:0;right:0;height:2px;background:',
          Object(B.f)('appColor'),
          ';',
          ({ transform: e }) => Object(B.b)('transform:', e, ';'),
          ' ',
          ({ transition: e }) => Object(B.b)('transition:', e, ';'),
          ' ',
          ({ opacity: e }) => Object(B.b)('opacity:', e, ';')
        ),
        Ve = (e, t, n) => Math.min(n, Math.max(e, t));
      function Ge(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class progress_bar_ProgressBar extends r.PureComponent {
        constructor(...e) {
          super(...e),
            Ge(this, 'incrementInterval', void 0),
            Ge(this, 'state', { percent: 0, opacity: 1, withTransition: !1 });
        }
        componentDidMount() {
          this.props.isLoading && this.startTrickleWork();
        }
        componentDidUpdate(e) {
          const { isLoading: t } = e;
          this.props.isLoading && !t && (this.resetBar(), this.startTrickleWork()),
            t && !this.props.isLoading && this.finishLoading();
        }
        componentWillUnmount() {
          this.clearInterval();
        }
        startTrickleWork() {
          const { trickleSpeed: e } = this.props;
          this.clearInterval(),
            (this.incrementInterval = setInterval(() => {
              var e, t;
              this.setState({
                percent:
                  ((e = this.state.percent),
                  'number' != typeof t &&
                    (t =
                      e >= 0 && e < 0.2
                        ? 0.1
                        : e >= 0.2 && e < 0.5
                        ? 0.04
                        : e >= 0.5 && e < 0.8
                        ? 0.02
                        : e >= 0.8 && e < 0.99
                        ? 0.005
                        : 0),
                  (e = Ve(e + t, 0, 0.994))),
                withTransition: !0,
              });
            }, e));
        }
        finishLoading() {
          const { speed: e } = this.props;
          this.setState({ percent: 1, withTransition: !0 }),
            setTimeout(() => {
              this.setState({ opacity: 0 });
            }, e);
        }
        resetBar() {
          this.setState({ percent: 0, opacity: 1, withTransition: !1 });
        }
        clearInterval() {
          this.incrementInterval && clearInterval(this.incrementInterval);
        }
        getTransform() {
          const { percent: e } = this.state;
          return `translate3d(${((t = e), (100 * (-1 + t)).toFixed(2))}%,0,0)`;
          var t;
        }
        getTransition() {
          const { withTransition: e } = this.state,
            { speed: t, easing: n } = this.props;
          return e ? `all ${t}ms ${n}` : 'none';
        }
        render() {
          return a.a.createElement(Ue, {
            transform: this.getTransform(),
            transition: this.getTransition(),
            opacity: this.state.opacity,
          });
        }
      }
      Ge(progress_bar_ProgressBar, 'defaultProps', {
        trickleSpeed: 200,
        speed: 200,
        easing: 'linear',
        isLoading: !1,
      });
      var $e = { name: '15bvnbz', styles: 'overflow-y:scroll;' };
      const Xe = Object(B.c)('div', { target: 'e1oh3pzt0' })(
          'position:relative;flex:1;outline-offset:-5px;',
          ({ theme: e }) => e.isMobileSize && $e
        ),
        Ye = Object(B.c)('iframe', { target: 'e1oh3pzt1' })({
          name: '1x9mh97',
          styles: 'position:absolute;width:100%;height:100%;outline-offset:-5px;',
        });
      function Ke(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const Ze = n(158);
      class messenger_sheet_proxy_MessengerSheetProxy extends r.Component {
        constructor(...e) {
          super(...e),
            Ke(this, 'frameNode', void 0),
            Ke(this, 'sheetProxyNode', void 0),
            Ke(this, 'state', { loadFrame: !1 });
        }
        componentDidMount() {
          setTimeout(() => {
            this.setState({ loadFrame: !0 }),
              this.setupSheetFrame(),
              this.sheetProxyNode && this.sheetProxyNode.focus();
          }, this.props.transitionTimeout);
        }
        setupSheetFrame() {
          if (!this.state.loadFrame) return;
          const { startNavigation: e, receiveSheetMessage: t } = this.props;
          e(),
            this.frameNode &&
              this.frameNode.ownerDocument.defaultView.addEventListener('message', t, !1);
        }
        componentWillUnmount() {
          const { setProxyLoadedStatus: e } = this.props;
          e(!1),
            this.frameNode &&
              this.frameNode.ownerDocument.defaultView.removeEventListener(
                'message',
                this.props.receiveSheetMessage
              );
        }
        render() {
          const { onFrameLoad: e, isNavigating: t } = this.props;
          return a.a.createElement(
            Xe,
            { tabIndex: '0', ref: (e) => (this.sheetProxyNode = e) },
            a.a.createElement(progress_bar_ProgressBar, { isLoading: t }),
            this.state.loadFrame
              ? a.a.createElement(Ye, {
                  ref: (e) => (this.frameNode = e),
                  name: 'intercom-messenger-sheet-proxy',
                  sandbox:
                    'allow-scripts allow-forms allow-same-origin allow-popups allow-popups-to-escape-sandbox',
                  src: Ze.sheets_proxy_path,
                  onLoad: e,
                  allowFullScreen: !0,
                  allow: 'microphone *; camera *; autoplay *',
                  title: 'Messenger app',
                })
              : null
          );
        }
      }
      var Je = n(21),
        Qe = n(77);
      n(226);
      var et = n(105);
      function tt(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_sheet_body_MessengerSheetBody extends r.PureComponent {
        constructor(...e) {
          super(...e),
            tt(this, 'node', void 0),
            tt(this, 'form', void 0),
            tt(this, 'focusTrap', null),
            tt(this, 'state', { isSubmitted: !1 }),
            tt(this, 'handleEscape', (e) => {
              Object(Je.p)(e) && this.handleCloseSheet();
            }),
            tt(this, 'handleCloseSheet', () => {
              this.props.closeSheet();
              const e = Object(et.a)();
              e && (e(), Object(et.f)(null));
            }),
            tt(this, 'setFormRef', (e) => {
              this.form = e;
            }),
            tt(this, 'submitForm', () => {
              if (!this.form) return null;
              this.form.submit(), this.setState({ isSubmitted: !0 });
            }),
            tt(this, 'handleIframeLoad', () => {
              this.props.setProxyLoadedStatus(!0);
            });
        }
        componentDidMount() {
          if ((Object(Je.c)(this.props.frameWindow, 'keydown', this.handleEscape), this.node)) {
            const e = () => Object(_.g)();
            this.focusTrap = new P.a({ document: this.node, firstElement: e, lastElement: e });
          }
        }
        componentDidUpdate() {
          this.shouldSubmitForm() && this.submitForm();
        }
        componentWillUnmount() {
          Object(Je.y)(this.props.frameWindow, 'keydown', this.handleEscape),
            this.focusTrap && this.focusTrap.restore();
        }
        shouldSubmitForm() {
          const { isSheetsDataLoaded: e, isProxyLoaded: t } = this.props;
          return !this.state.isSubmitted && e && t;
        }
        renderSheetForm() {
          const { url: e, sheetsData: t } = this.props;
          return t
            ? a.a.createElement(
                'form',
                {
                  ref: this.setFormRef,
                  action: e,
                  method: 'post',
                  style: { margin: '0' },
                  target: 'intercom-messenger-sheet',
                },
                a.a.createElement('input', {
                  type: 'hidden',
                  name: 'intercom_data',
                  value: t,
                  readOnly: !0,
                })
              )
            : null;
        }
        render() {
          const { sheetTitle: e } = this.props;
          return a.a.createElement(
            _e,
            { ref: (e) => (this.node = e) },
            a.a.createElement(qe, { onBackClick: this.handleCloseSheet, sheetTitle: e }),
            a.a.createElement(messenger_sheet_proxy_MessengerSheetProxy, {
              isNavigating: this.props.isNavigating,
              onFrameLoad: this.handleIframeLoad,
              startNavigation: this.props.startNavigation,
              receiveSheetMessage: this.props.receiveSheetMessage,
              setProxyLoadedStatus: this.props.setProxyLoadedStatus,
              transitionTimeout: this.props.transitionTimeout,
            }),
            this.renderSheetForm(),
            a.a.createElement(he.a, {
              'aria-label': Object(g.e)('close'),
              'onClick': this.handleCloseSheet,
            })
          );
        }
      }
      function nt() {
        return (nt =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      class messenger_sheet_MessengerSheet extends r.PureComponent {
        render() {
          const {
              isSheetsDataLoaded: e,
              isProxyLoaded: t,
              isOpen: n,
              isNavigating: r,
              url: o,
              closeSheet: i,
              sheetsData: s,
              startNavigation: l,
              setProxyLoadedStatus: c,
              sheetTitle: d,
              receiveSheetMessage: p,
              frameWindow: u,
            } = this.props,
            m = {
              isSheetsDataLoaded: e,
              isProxyLoaded: t,
              isNavigating: r,
              url: o,
              sheetsData: s,
              closeSheet: i,
              setProxyLoadedStatus: c,
              sheetTitle: d,
              startNavigation: l,
              receiveSheetMessage: p,
              transitionTimeout: 300,
            };
          return a.a.createElement(
            Pe,
            null,
            a.a.createElement(
              b.TransitionGroup,
              null,
              n
                ? a.a.createElement(
                    b.CSSTransition,
                    { classNames: 'intercom-messenger-sheet', timeout: { enter: 300, exit: 300 } },
                    a.a.createElement(
                      messenger_sheet_body_MessengerSheetBody,
                      nt({ key: 'sheet' }, m, { frameWindow: u })
                    )
                  )
                : null
            )
          );
        }
      }
      var rt = n(3);
      const at = Object(f.createStructuredSelector)({
        isSheetsDataLoaded: ye.d,
        isProxyLoaded: ye.c,
        isOpen: ye.b,
        url: ye.f,
        sheetsData: ye.h,
        sourceCard: ye.g,
        isNavigating: ye.a,
        sheetTitle: ye.e,
      });
      var ot = Object(i.connect)(at, function (e) {
          const t = Se.d.bind(null, rt.b),
            n = Se.h.bind(null, rt.b);
          return Object(ke.bindActionCreators)(
            {
              startNavigation: Se.g,
              finishNavigation: Se.c,
              closeSheet: Se.a,
              submitSheet: n,
              setProxyLoadedStatus: Se.e,
              setSheetTitle: Se.f,
              receiveSheetMessage: t,
            },
            e
          );
        })(messenger_sheet_MessengerSheet),
        it = n(632);
      const st = Object(B.c)('div', { target: 'e1gl5nmw0' })(
          'z-index:',
          Object(B.f)('messengerAlertsZIndex'),
          ';position:absolute;top:0;left:0;right:0;margin-left:auto;margin-right:auto;width:calc(267px - 16px - 16px);background-color:',
          Object(B.f)('white'),
          ';border:1px solid ',
          Object(B.f)('red'),
          ';box-shadow:0 2px 8px 0 rgba(0,0,0,0.15);border-radius:8px;font-size:14px;line-height:1.5;height:21px;padding:8px 16px;display:flex;flex-direction:row;justify-content:center;align-items:center;align-content:center;color:',
          Object(B.f)('red'),
          ';svg{width:18px;height:17px;stroke:',
          Object(B.f)('red'),
          ';margin-right:8px;padding-bottom:2px;}span{line-height:1.5;}'
        ),
        lt = Object(B.c)('span', { target: 'e1gl5nmw1' })({
          name: '1qimanm',
          styles: 'text-decoration:underline;&:hover{cursor:pointer;}',
        });
      function ct(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_alerts_MessengerAlerts extends r.PureComponent {
        constructor(...e) {
          super(...e),
            ct(this, 'handleTryAgain', () => {
              const { alertType: e, alertPayload: t } = this.props;
              switch (e) {
                case 'MessengerCardSubmitError':
                  this.props.submitMessengerCardAction(t.cardUri, t.componentId, t.inputValues);
                  break;
                case 'MessengerSheetSubmitError':
                  this.props.submitSheet(t.sheetValues);
              }
            });
        }
        isPageHomescreen() {
          return 'home-screen' === this.props.currentView;
        }
        getStyle() {
          const { headerHeight: e } = this.props;
          return { top: (this.isPageHomescreen() ? 0 : e) + 16 };
        }
        render() {
          return this.props.isShown
            ? a.a.createElement(
                st,
                { style: this.getStyle() },
                a.a.createElement(it.a, null),
                a.a.createElement('span', null, Object(g.e)('something_is_wrong'), '. '),
                a.a.createElement(lt, { onClick: this.handleTryAgain }, Object(g.e)('try_again'))
              )
            : null;
        }
      }
      ct(messenger_alerts_MessengerAlerts, 'defaultProps', { headerHeight: 0 });
      var dt = n(166);
      const pt = (e) => e.messengerAlerts,
        ut = Object(f.createSelector)(pt, (e) => e.isShown),
        mt = Object(f.createSelector)(pt, (e) => e.alertType),
        ht = Object(f.createSelector)(pt, (e) => e.alertPayload || {}),
        bt = Object(f.createStructuredSelector)({ isShown: ut, alertPayload: ht, alertType: mt });
      var gt = Object(i.connect)(bt, function (e) {
        return Object(ke.bindActionCreators)(
          { submitMessengerCardAction: dt.a.bind(null, rt.b), submitSheet: Se.h.bind(null, rt.b) },
          e
        );
      })(messenger_alerts_MessengerAlerts);
      Object(B.c)('div', { target: 'ea8aisp0' })(
        'height:100%;width:100%;top:0;left:0;position:absolute;background:',
        Object(B.f)('white'),
        ';display:flex;justify-content:center;align-items:center;'
      ),
        Object(B.c)('div', { target: 'ea8aisp1' })(
          'position:absolute;width:100%;top:0;min-height:75px;background:linear-gradient( 135deg,',
          Object(B.f)('gradientStartColor'),
          ' 0%,',
          Object(B.f)('gradientEndColor'),
          ' 100% );color:',
          Object(B.f)('white'),
          ';transition:height 160ms ease-out;'
        );
      const ft = Object(B.c)('div', { target: 'ea8aisp2' })({
          name: '8atqhb',
          styles: 'width:100%;',
        }),
        vt = Object(B.c)('div', { target: 'ea8aisp3' })({
          name: '9rwavp',
          styles: 'position:absolute;top:50%;transform:translateY(-50%);width:100%;',
        }),
        xt = Object(B.c)('div', { target: 'ea8aisp4' })({
          name: 'vwcjdg',
          styles: 'font-size:18px;text-align:center;padding-bottom:6px;',
        }),
        yt = Object(B.c)('div', { target: 'ea8aisp5' })(
          'font-size:16px;text-align:center;color:',
          Object(B.f)('grey'),
          ';'
        ),
        jt = Object(B.c)('div', { target: 'ea8aisp6' })({
          name: 'xi606m',
          styles: 'text-align:center;',
        }),
        Ot = Object(B.c)('button', { target: 'ea8aisp7' })(
          'font-size:16px;background-color:',
          Object(B.f)('appColor'),
          ';color:',
          Object(B.f)('white'),
          ';margin-top:20px;padding:10px 30px;border-radius:4px;'
        ),
        Ct = Object(B.c)('div', { target: 'ea8aisp8' })({
          name: '1x6rvtb',
          styles: 'height:75px;',
        });
      class booting_header_BootingHeader extends r.PureComponent {
        constructor(...e) {
          var t, n, r;
          super(...e),
            (r = void 0),
            (n = 'node') in (t = this)
              ? Object.defineProperty(t, n, {
                  value: r,
                  enumerable: !0,
                  configurable: !0,
                  writable: !0,
                })
              : (t[n] = r);
        }
        componentDidMount() {
          if (!this.node) return;
          const { height: e } = this.node.getBoundingClientRect();
          this.props.onHeightChange(e);
        }
        render() {
          return a.a.createElement(Ct, { ref: (e) => (this.node = e) });
        }
      }
      function wt() {
        return a.a.createElement(
          'svg',
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 16', 'height': '16' },
          a.a.createElement('path', {
            fill: '#FFF',
            d: 'M1,14 L15,14 L15,16 L1,16 L1,14 Z M8,12 L2,5.68965517 L3.37704918,4.24137931 L6.99543762,8.00158691 L6.99543762,0 L8.99861145,0 L8.99861145,8.00158691 L12.6229508,4.24137931 L14,5.68965517 L8,12 Z',
          })
        );
      }
      var Et = n(558);
      const kt = Object(B.c)('div', { target: 'ehisz1x0' })(
          'z-index:',
          Object(ee.m)(3),
          ';position:absolute;width:',
          51,
          'px;height:',
          51,
          'px;top:0;right:0;background-position:center;margin:12px 8px 12px 2px;',
          ({ isOffsetLeft: e }) => e && Object(B.b)('right:', 51, 'px;'),
          ' &,*{cursor:pointer;}'
        ),
        St = Object(B.c)('div', { target: 'ehisz1x1' })(
          'width:',
          51,
          'px;height:',
          51,
          'px;margin:0 auto;border-radius:',
          Object(B.f)('messengerBorderRadiusPx'),
          'px;display:flex;align-items:center;justify-content:center;transform:translateZ(0);&:hover{background-color:rgba(0,0,0,0.5);}'
        );
      function _t() {
        return (_t =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function Pt(e) {
        const { isOffsetLeft: t, opacity: n, onClick: r } = e,
          o = 'number' == typeof n;
        return a.a.createElement(
          b.CSSTransition,
          {
            classNames: 'intercom-download-transcript-button',
            in: !0,
            appear: !o,
            timeout: 500,
            enter: !1,
            exit: !1,
          },
          a.a.createElement(
            Et.a,
            { content: Object(g.e)('download_transcript'), position: 'bottomRight', type: 'dark' },
            (e, o) =>
              a.a.createElement(
                kt,
                _t({}, o, {
                  'isOffsetLeft': t,
                  'style': { opacity: n },
                  'onClick': r,
                  'aria-label': Object(g.e)('download_transcript'),
                  'className': 'intercom-download-transcript-button',
                }),
                a.a.createElement(St, null, a.a.createElement(wt, null)),
                e
              )
          )
        );
      }
      function Tt(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_header_buttons_MessengerHeaderButtons extends r.Component {
        constructor(...e) {
          super(...e),
            Tt(this, 'handleBackClick', (e) => {
              e.preventDefault(),
                Object(T.e)('clicked', 'back_button', 'messenger', ''),
                this.props.onBackClick();
            }),
            Tt(this, 'handleTranscriptDownload', () => {
              const { conversationId: e } = this.props;
              e &&
                (Object(T.e)('download_transcript', 'conversation', 'messenger', '', {
                  conversation_id: e,
                }),
                this.props.onDownloadTranscript(e));
            });
        }
        getDownloadTranscriptButtonOpacity() {
          const { percentageCollapsed: e } = this.props;
          return 0 === e ? null : 1 - e <= 0.2 ? 0 : 1 - e;
        }
        renderBackButton() {
          return a.a.createElement(
            Fe,
            {
              'className': 'intercom-messenger-header-buttons-back-button',
              'onClick': this.handleBackClick,
              'aria-label': Object(g.e)('navigation_back'),
            },
            a.a.createElement(De, null, a.a.createElement(Be, null), a.a.createElement(Le, null))
          );
        }
        renderDownloadTranscriptButton() {
          return a.a.createElement(Pt, {
            'isOffsetLeft': this.props.isCloseButtonEnabled,
            'opacity': this.getDownloadTranscriptButtonOpacity(),
            'onClick': this.handleTranscriptDownload,
            'aria-label': Object(g.e)('download_transcript'),
          });
        }
        render() {
          const { isBackButtonEnabled: e, isDownloadTranscriptButtonEnabled: t } = this.props;
          return a.a.createElement(
            a.a.Fragment,
            null,
            e ? this.renderBackButton() : null,
            t ? this.renderDownloadTranscriptButton() : null
          );
        }
      }
      Tt(messenger_header_buttons_MessengerHeaderButtons, 'defaultProps', {
        isBackButtonEnabled: !1,
        isDownloadTranscriptButtonEnabled: !1,
      });
      var Bt = n(44),
        Nt = n(6),
        At = n(81),
        Mt = n(82),
        It = Object(f.createSelector)(
          y.a,
          () => Object(At.b)(),
          Mt.c,
          (e, t, n) => !n && (t || !e || !1)
        );
      var zt = Object(i.connect)(
          (e, t) => {
            const n = Object(Bt.b)(e),
              r = Object(j.k)(e, t);
            return {
              isCloseButtonEnabled: It(e),
              isBackButtonEnabled: r,
              conversationId: n ? n.id : null,
            };
          },
          (e) => ({
            onBackClick: () => {
              e(Object(X.d)());
            },
            onDownloadTranscript: (t) => {
              e(Object(Nt.n)(t));
            },
          })
        )(messenger_header_buttons_MessengerHeaderButtons),
        Lt = n(477);
      const Rt = Object(B.c)('svg', { target: 'e1tfcp060' })(
        'fill:',
        Object(B.f)('buttonBackgroundColor'),
        ';'
      );
      function Ft({ size: e }) {
        return a.a.createElement(
          Rt,
          { xmlns: 'http://www.w3.org/2000/svg', width: e, height: e, viewBox: '0 0 14 14' },
          a.a.createElement('path', {
            fillRule: 'evenodd',
            d: 'M12.5 7c0 3.0376-2.4624 5.5-5.5 5.5-3.03757 0-5.5-2.4624-5.5-5.5 0-3.03757 2.46243-5.5 5.5-5.5 3.0376 0 5.5 2.46243 5.5 5.5zM14 7c0 3.866-3.134 7-7 7-3.86599 0-7-3.134-7-7 0-3.86599 3.13401-7 7-7 3.866 0 7 3.13401 7 7zM6.27844 3.48219v3.78093l.00105.00104c.00305.07805.03658.1518.09341.20546l.07452.0566L9.6706 9.69708l.15009.03773h.05667c.09341-.01886.14904-.07442.20574-.13102l.4125-.65514c.0355-.04926.0552-.10809.0566-.16876 0-.09329-.0566-.14885-.1501-.20545L7.62817 6.68345V3.48219c0-.14989-.1312-.29979-.30017-.29979h-.74938c-.16898 0-.30018.1499-.30018.29979z',
            clipRule: 'evenodd',
          })
        );
      }
      (Ft.defaultProps = { size: 14 }), (Ft.propTypes = { size: h.a.number });
      var Dt = { name: '19f00aa', styles: 'padding-right:initial;max-width:152px;' },
        Ht = { name: 'prstg', styles: 'padding-right:0px;' };
      const Wt = Object(B.c)('div', { target: 'e1tiptuf0' })(
          'display:flex;flex-direction:column;flex-wrap:wrap;margin-left:8px;line-height:1.5;padding-right:96px;',
          ({ hasExpectationsOrOfficeHours: e }) => e && Ht,
          ' ',
          ({ limitWidth: e }) => e && Dt
        ),
        qt = Object(B.c)('div', { target: 'e1tiptuf1' })(
          'font-size:14px;width:100%;color:',
          Object(B.f)('metaText'),
          ';flex-grow:1;',
          ({ inHeader: e, theme: t }) => e && Object(B.b)('color:', t.headerTextColor, ';')
        );
      var Ut = {
        name: 'huhq6q',
        styles: 'font-weight:unset;margin-top:4px;& > svg{margin-top:0;padding-bottom:0;}',
      };
      const Vt = Object(B.c)('div', { target: 'e1tiptuf2' })(
          'display:flex;font-weight:600;font-size:14px;& > svg{margin-top:2px;padding:0 4px 2px 0;flex-shrink:0;',
          ({ theme: e }) => e.isPrimaryColorLight && Object(B.b)('fill:', e.buttonTextColor, ';'),
          '}',
          ({ inHeader: e, compact: t, theme: n }) =>
            e &&
            Object(B.b)(
              'color:',
              t ? n.headerTextColor : n.headerTitleColor,
              ';& > svg{fill:currentColor;}'
            ),
          ' ',
          ({ compact: e }) => e && Ut
        ),
        Gt = Object(B.c)('span', { target: 'e1tiptuf3' })({
          name: '1o4wo1x',
          styles: 'overflow:hidden;text-overflow:ellipsis;',
        });
      function $t({ compact: e, inHeader: t }) {
        const n = Object(i.useSelector)((e) => e.app.officeHoursResponse),
          r = Object(i.useSelector)((e) => e.app.expectedResponseDelayTranslationKey),
          o = ((e) => {
            const t = Object(g.a)();
            return -1 !== g.c.indexOf(t) ? e : e[0].toLocaleUpperCase(t) + e.substring(1);
          })(Object(g.e)(r)),
          s = e ? 12 : 14,
          l = n || 'conversation_card_unknown_response_time' !== r;
        return a.a.createElement(
          Vt,
          { compact: e, inHeader: t },
          l && a.a.createElement(Ft, { size: s }),
          a.a.createElement(Gt, null, n || o)
        );
      }
      function Xt({ inHeader: e }) {
        const t = Object(i.useSelector)((e) => e.app.officeHoursResponse),
          n =
            'conversation_card_unknown_response_time' ===
            Object(i.useSelector)((e) => e.app.expectedResponseDelayTranslationKey),
          r = !!t || !n;
        return a.a.createElement(
          Wt,
          { hasExpectationsOrOfficeHours: r, limitWidth: n },
          a.a.createElement(
            qt,
            { inHeader: e },
            t
              ? Object(g.e)('conversation_card_office_hours_header')
              : n
              ? Object(g.e)('conversation_card_unknown_response_time')
              : Object(g.e)('conversation_card_reply_time_header')
          ),
          r && a.a.createElement($t, { inHeader: e })
        );
      }
      function Yt({ inHeader: e }) {
        return a.a.createElement(
          Wt,
          { hasExpectationsOrOfficeHours: !0, limitWidth: !1 },
          a.a.createElement(qt, { inHeader: e }, Object(g.e)('tell_us_what_you_need'))
        );
      }
      ($t.defaultProps = { compact: !1, inHeader: !1 }),
        ($t.propTypes = { compact: h.a.bool, inHeader: h.a.bool }),
        (Xt.defaultProps = { inHeader: !1 }),
        (Xt.propTypes = { inHeader: h.a.bool }),
        (Yt.defaultProps = { inHeader: !1 }),
        (Yt.propTypes = { inHeader: h.a.bool });
      var Kt = n(500),
        Zt = n(640),
        Jt = n(579);
      const Qt = Object(B.c)('div', { target: 'e1e91qmz0' })(
        'margin-right:6px;display:flex;flex-flow:row nowrap;justify-content:flex-start;',
        Jt.a.className,
        '{border:2px solid ',
        ({ useAppColorForAvatarBorder: e }) =>
          e ? Object(B.f)('appSecondaryColor') : Object(B.f)('white'),
        ';}'
      );
      var en = { name: 'l8s9e4', styles: 'margin-left:-2px;' };
      const tn = Object(B.c)('div', { target: 'e1e91qmz1' })(
        'padding:0;display:inline-block;flex:1 1 56px;margin-left:-8px;',
        ({ isFirst: e }) => e && en,
        ' ',
        ({ isFirst: e, avatarLeftmargin: t }) => !e && t && Object(B.b)('margin-left:', t, 'px;')
      );
      class admin_avatar_stack_AdminAvatarStack extends r.PureComponent {
        renderAvatarWithTooltip(e, t) {
          const n = e.firstName || '';
          return a.a.createElement(Et.a, { content: n, position: 'bottom' }, (n, r) =>
            a.a.createElement(ee.a, r, a.a.createElement(Kt.a, { admin: e, size: t }), n)
          );
        }
        renderAdminAvatars() {
          const {
              admins: e,
              maxAdmins: t,
              showTooltip: n,
              avatarPixelsToShow: r,
              avatarSize: o,
            } = this.props,
            i = r - o;
          return Object(Zt.a)(e, t, !0).map((e, t) =>
            a.a.createElement(
              tn,
              { key: t, isFirst: 0 === t, avatarLeftmargin: i },
              n
                ? this.renderAvatarWithTooltip(e, o)
                : a.a.createElement(Kt.a, { admin: e, size: o })
            )
          );
        }
        render() {
          return a.a.createElement(
            Qt,
            { useAppColorForAvatarBorder: this.props.useAppColorForAvatarBorder },
            this.renderAdminAvatars()
          );
        }
      }
      var nn, rn, an;
      (an = { avatarPixelsToShow: 44, avatarSize: 52, maxAdmins: 6, showTooltip: !1 }),
        (rn = 'defaultProps') in (nn = admin_avatar_stack_AdminAvatarStack)
          ? Object.defineProperty(nn, rn, {
              value: an,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (nn[rn] = an);
      var on = Object(i.connect)(function (e) {
        return { admins: e.app.activeAdmins };
      })(admin_avatar_stack_AdminAvatarStack);
      function sn({ compact: e, inHeader: t }) {
        return a.a.createElement(
          Vt,
          { compact: e, inHeader: t },
          a.a.createElement(Gt, null, Object(g.e)('bot'))
        );
      }
      (sn.defaultProps = { compact: !1, inHeader: !1 }),
        (sn.propTypes = { compact: h.a.bool, inHeader: h.a.bool });
      const ln = Object(B.c)('div', { target: 'emkvacf0' })(
          ({ isCollapsed: e }) =>
            !e && Object(B.b)(hn.className, ',', hn.className, ' *{pointer-events:none;}')
        ),
        cn = Object(B.c)('div', { target: 'emkvacf1' })({
          name: 'm8mn7f',
          styles: 'padding:24px 24px 0 75px;box-sizing:border-box;',
        }),
        dn = Object(B.c)('h2', { target: 'emkvacf2' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:20px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;'
        ),
        pn = Object(B.c)('div', { target: 'emkvacf3' })(
          'color:',
          Object(B.f)('headerTextColor'),
          ';font-size:14px;line-height:21px;span{word-break:break-word;}'
        ),
        un = Object(B.c)('div', { target: 'emkvacf4' })({
          name: '1jd31b9',
          styles:
            'border-radius:8px;padding:8px;height:51px;box-sizing:border-box;white-space:nowrap;overflow:hidden;',
        });
      var mn = { name: '1hs0psz', styles: 'right:8px;' };
      const hn = Object(B.c)('div', { target: 'emkvacf5' })(
          'position:absolute;height:75px;top:0;left:60px;right:20px;padding-top:12px;box-sizing:border-box;overflow:hidden;transition:opacity 0.2s;&,*{cursor:pointer;}&:hover ',
          un.className,
          '{background-color:rgba(0,0,0,0.1);}',
          ({ theme: e }) => e.isMobileSize && mn
        ),
        bn = Object(B.c)('div', { target: 'emkvacf6' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:16px;line-height:1.1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;'
        );
      function gn() {
        return (gn =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      class team_profile_TeamProfile extends r.Component {
        getFullStyle() {
          const { percentageCollapsed: e } = this.props;
          return { opacity: 1 - e <= 0.2 ? 0 : 1 - e };
        }
        getCompactStyle() {
          const { percentageCollapsed: e } = this.props;
          return { opacity: e <= 0.8 ? 0 : e };
        }
        renderFull() {
          const { appName: e, appTeamIntro: t, accessToTeammateEnabled: n } = this.props,
            r = this.getFullStyle();
          return a.a.createElement(
            cn,
            { 'style': r, 'aria-hidden': 0 === r.opacity },
            a.a.createElement(dn, null, e),
            t ? a.a.createElement(pn, null, a.a.createElement(Lt.a, { text: t })) : null,
            a.a.createElement(
              'div',
              { style: { display: 'flex', alignItems: 'center', margin: '24px 0 32px' } },
              a.a.createElement(on, {
                showTooltip: !0,
                avatarSize: 56,
                avatarPixelsToShow: 16,
                maxAdmins: 3,
                useAppColorForAvatarBorder: !0,
              }),
              n ? a.a.createElement(Xt, { inHeader: !0 }) : a.a.createElement(Yt, { inHeader: !0 })
            )
          );
        }
        renderCompact() {
          const { onExpand: e, percentageCollapsed: t } = this.props,
            n = this.getCompactStyle(),
            r = 1 !== t;
          return a.a.createElement(
            hn,
            gn(
              {
                'style': n,
                'aria-hidden': 0 === n.opacity,
                'aria-expanded': r,
                'tabIndex': r ? '-1' : '0',
                'role': r ? 'region' : 'button',
              },
              r ? {} : { 'aria-label': Object(g.e)('expand_header') },
              { onClick: e }
            ),
            a.a.createElement(un, null, this.renderCompactContents())
          );
        }
        renderCompactContents() {
          const { appName: e, accessToTeammateEnabled: t } = this.props;
          return a.a.createElement(
            'div',
            { style: { display: 'flex', alignItems: 'center' } },
            a.a.createElement(on, {
              avatarSize: 28,
              avatarPixelsToShow: 6,
              maxAdmins: 3,
              useAppColorForAvatarBorder: !0,
            }),
            a.a.createElement(
              'div',
              { style: { marginLeft: '10px', overflow: 'hidden' } },
              a.a.createElement(bn, null, e),
              t
                ? a.a.createElement($t, { compact: !0, inHeader: !0 })
                : a.a.createElement(sn, { compact: !0, inHeader: !0 })
            )
          );
        }
        render() {
          return a.a.createElement(
            ln,
            { isCollapsed: 1 === this.props.percentageCollapsed },
            this.renderFull(),
            this.renderCompact()
          );
        }
      }
      const fn = Object(B.c)('svg', { target: 'ez4rail0' })(
        'display:inline-block;width:16px;height:16px;margin-right:16px;opacity:0.7;&:hover{opacity:1;}> g > g{fill:',
        Object(B.f)('headerTextColor'),
        ';}'
      );
      var vn = () =>
        a.a.createElement(
          fn,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 16' },
          a.a.createElement(
            'g',
            { fill: 'none' },
            a.a.createElement(
              'g',
              { fill: '#B3C9FF' },
              a.a.createElement('path', {
                d: 'M13.6 0C14.9 0 16 1.1 16 2.4L16 13.6C16 14.9 14.9 16 13.6 16L2.4 16C1.1 16 0 14.9 0 13.6L0 2.4C0 1.1 1.1 0 2.4 0L13.6 0ZM4.8 13.5L4.8 6.2 2.4 6.2 2.4 13.5 4.8 13.5ZM3.6 5.2C4.5 5.2 5 4.7 5 4 5 3.3 4.5 2.7 3.7 2.7 2.8 2.7 2.3 3.3 2.3 4 2.3 4.7 2.8 5.2 3.6 5.2L3.6 5.2ZM6.2 13.5L8.6 13.5 8.6 9.4C8.6 9.2 8.6 9 8.7 8.8 8.8 8.4 9.2 8 9.9 8 10.8 8 11.1 8.6 11.1 9.6L11.1 13.5 13.5 13.5 13.5 9.3C13.5 7.1 12.3 6.1 10.7 6.1 9.4 6.1 8.9 6.8 8.6 7.3L8.6 7.3 8.6 6.2 6.2 6.2C6.2 6.9 6.2 13.5 6.2 13.5Z',
              })
            )
          )
        );
      const xn = Object(B.c)('svg', { target: 'e1jjzgt50' })(
        'display:inline-block;width:18px;height:15px;margin-right:16px;opacity:0.7;&:hover{opacity:1;}> g > g{fill:',
        Object(B.f)('headerTextColor'),
        ';}'
      );
      var yn = () =>
        a.a.createElement(
          xn,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 18 15' },
          a.a.createElement(
            'g',
            { fill: 'none' },
            a.a.createElement(
              'g',
              { fill: '#B3C9FF' },
              a.a.createElement('path', {
                d: 'M18 1.8C17.3 2.1 16.6 2.3 15.9 2.4 16.6 1.9 17.2 1.2 17.5 0.3 16.8 0.7 16 1 15.2 1.2 14.5 0.5 13.5 0 12.5 0 10.4 0 8.8 1.7 8.8 3.8 8.8 4.1 8.8 4.4 8.9 4.6 5.8 4.5 3.1 3 1.3 0.7 0.9 1.3 0.8 1.9 0.8 2.6 0.8 3.9 1.4 5.1 2.4 5.7 1.8 5.7 1.2 5.6 0.7 5.3 0.7 5.3 0.7 5.3 0.7 5.3 0.7 7.2 2 8.7 3.7 9 3.4 9.1 3.1 9.2 2.7 9.2 2.5 9.2 2.2 9.1 2 9.1 2.5 10.6 3.9 11.7 5.5 11.7 4.2 12.7 2.6 13.4 0.9 13.4 0.6 13.4 0.3 13.3 0 13.3 1.6 14.4 3.6 15 5.7 15 12.5 15 16.2 9.2 16.2 4.2 16.2 4.1 16.2 3.9 16.2 3.7 16.9 3.2 17.5 2.5 18 1.8',
              })
            )
          )
        );
      const jn = Object(B.c)('svg', { target: 'ekiqnl20' })(
        'display:inline-block;width:16px;height:16px;margin-right:16px;opacity:0.7;> path{fill:',
        Object(B.f)('headerTextColor'),
        ';}&:hover{opacity:1;}'
      );
      var On = () =>
        a.a.createElement(
          jn,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 16' },
          a.a.createElement('rect', { fill: 'black', fillOpacity: '0' }),
          a.a.createElement('path', {
            fillRule: 'evenodd',
            fill: '#B3C9FF',
            clipRule: 'evenodd',
            d: 'M2 1C2 0.762695 2.08301 0.544922 2.2207 0.373047C2.40332 0.145508 2.68457 0 3 0C3.27148 0 3.51758 0.108398 3.69824 0.283203C3.88477 0.464844 4 0.71875 4 1V3H10V1C10 0.447266 10.4473 0 11 0C11.5527 0 12 0.447266 12 1V3H13C13.5527 3 14 3.44727 14 4V5H0V4C0 3.92578 0.0078125 3.85352 0.0234375 3.78418C0.0537109 3.64551 0.114258 3.5166 0.196289 3.40527C0.37793 3.15918 0.669922 3 1 3H2V1ZM0 6H14V14C14 14.4297 13.8652 14.8271 13.6348 15.1533C13.5186 15.3174 13.3789 15.4629 13.2197 15.5859C13.0723 15.6992 12.9082 15.793 12.7324 15.8623C12.5059 15.9512 12.2588 16 12 16H2C0.895508 16 0 15.1045 0 14V6ZM5 7H4V9H2V10H4V12H2V13H4V15H5V13H9V15H10V13H12V12H10V10H12V9H10V7H9V9H5V7ZM9 12V10H5V12H9Z',
          })
        );
      const Cn = Object(B.c)('div', { target: 'e136ngx30' })(
          'z-index:',
          Object(ee.m)(1),
          ';visibility:hidden;position:absolute;top:calc(100% + 10px);left:50%;border-radius:4px;padding:4px 8px;font-size:12px;line-height:14px;background-color:',
          Object(B.f)('grey'),
          ';color:',
          Object(B.f)('white'),
          ";white-space:nowrap;&:after{bottom:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(81,96,114,0);border-bottom-color:#516072;border-width:5px;margin-left:-5px;}"
        ),
        wn = Object(B.c)('span', { target: 'e136ngx31' })({
          name: '7qsprt',
          styles:
            'max-width:130px;white-space:nowrap;overflow:hidden;display:block;text-overflow:ellipsis;',
        }),
        En = Object(B.c)('div', { target: 'e136ngx32' })(
          'display:inline-block;position:relative;float:left;margin:3px;&:hover{',
          Cn.className,
          '{visibility:visible;}}'
        );
      class conversation_participant_ConversationParticipant extends r.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'participantName', void 0);
        }
        getParticipantNameStyles() {
          if (this.participantName) return { marginLeft: -this.participantName.offsetWidth / 2 };
        }
        render() {
          return a.a.createElement(
            En,
            null,
            a.a.createElement(Kt.a, { admin: this.props }),
            a.a.createElement(
              Cn,
              { ref: (e) => (this.participantName = e), style: this.getParticipantNameStyles() },
              a.a.createElement(wn, null, this.props.name)
            )
          );
        }
      }
      var kn = n(641),
        Sn = { name: '1tu59u4', styles: 'flex:0 0 auto;' };
      const _n = Object(B.c)('svg', { target: 'e1rpf4rx0' })(
        'width:16px;height:16px;margin-right:5px;vertical-align:text-bottom;> g > g{stroke:',
        Object(B.f)('headerTitleColor'),
        ';}',
        ({ isBio: e }) => e && Sn
      );
      var Pn = () =>
        a.a.createElement(
          _n,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 17 15' },
          a.a.createElement(
            'g',
            { strokeWidth: '1', fillRule: 'evenodd', strokeLinejoin: 'round', fill: 'none' },
            a.a.createElement(
              'g',
              { stroke: '#FFF' },
              a.a.createElement(
                'g',
                {
                  transform:
                    'translate(-1073 -120)translate(1002 30)translate(72 90)translate(0 1)',
                },
                a.a.createElement('path', { d: 'M0.4 6.7L6.7 6.7', strokeLinecap: 'round' }),
                a.a.createElement('path', { d: 'M8.9 6.7L15.2 6.7', strokeLinecap: 'round' }),
                a.a.createElement('polygon', { points: '15.2 3.2 0.4 3.2 0.4 13.1 15.2 13.1' }),
                a.a.createElement('polygon', { points: '8.9 8.9 6.7 8.9 6.7 6 8.9 6' }),
                a.a.createElement('path', {
                  d: 'M5 3.2C5 1.6 6.2 0.4 7.8 0.4 9.4 0.4 10.6 1.6 10.6 3.2',
                })
              )
            )
          )
        );
      var Tn = () =>
        a.a.createElement(
          _n,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 18 18' },
          a.a.createElement(
            'g',
            {
              strokeWidth: '1',
              fillRule: 'evenodd',
              strokeLinecap: 'round',
              strokeLinejoin: 'round',
              fill: 'none',
            },
            a.a.createElement(
              'g',
              { stroke: '#FFF' },
              a.a.createElement('path', {
                d: 'M16.7 9C16.7 13.2 13.2 16.7 9 16.7 4.8 16.7 1.3 13.2 1.3 9 1.3 4.8 4.8 1.3 9 1.3 13.2 1.3 16.7 4.8 16.7 9L16.7 9Z',
              }),
              a.a.createElement('path', {
                d: 'M14.7 3.8C14.7 3.8 14.3 5.7 13 6.3 11.7 6 10.3 7 10.7 7 11 7 11.3 8.3 11.3 8.3 11.7 8.7 12.3 8.3 12.3 8.3 13.2 9.2 11 10.7 11 11 11 11.3 11.8 11.5 11.3 12 10.8 12.5 10.3 12.7 10.3 12.7 10.3 14.3 8.7 14.3 8.3 14.3 8 14.3 7.3 13 7.3 12.7 7.3 12.3 7.7 12 7.7 11.7 7.7 11.3 7 10.7 7 10.7 7 9.3 6 9.7 5 9.7 4 9.7 4 8.3 4 8.3 4 8.3 4 6 5.7 5.7 7.3 5.3 7.3 6 7.3 6 8 6.7 9.3 6 10 6 10 6 10.3 3.7 9.7 4 9 4.3 8.4 4.1 8.3 3.3 8.2 2.3 11.2 1.7 11.2 1.7',
              })
            )
          )
        );
      var Bn = () =>
          a.a.createElement(
            _n,
            { 'isBio': !0, 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 13' },
            a.a.createElement(
              'g',
              { strokeWidth: '1', fillRule: 'evenodd', fill: 'none' },
              a.a.createElement(
                'g',
                { stroke: '#FFF' },
                a.a.createElement('path', {
                  d: 'M5.1 0.9L6.9 2.4C5.3 3.5 3.9 5.5 3.7 7.1 3.8 7.1 4.1 7 4.4 7 5.8 7 6.8 8.1 6.8 9.6 6.8 11.1 5.6 12.3 4.1 12.3 2.5 12.3 1 10.9 1 8.4 1 5.4 2.8 2.6 5.1 0.9ZM13.1 0.9L15 2.4C13.4 3.5 12 5.5 11.8 7.1 11.8 7.1 12.2 7 12.4 7 13.8 7 14.9 8.1 14.9 9.6 14.9 11.1 13.7 12.3 12.2 12.3 10.5 12.3 9.1 10.9 9.1 8.4 9.1 5.4 10.8 2.6 13.1 0.9Z',
                })
              )
            )
          ),
        Nn = n(501),
        An = n(546);
      const Mn = Object(B.c)('div', { target: 'e12blpgd0' })(
        ({ isCollapsed: e }) =>
          !e && Object(B.b)($n.className, ',', $n.className, ' *{pointer-events:none;}')
      );
      var In = { name: '107g92u', styles: 'padding:30px 30px 24px 75px;' },
        zn = { name: '1imlk2a', styles: 'padding-bottom:0;' };
      const Ln = Object(B.c)('div', { target: 'e12blpgd1' })(
          'padding:30px 30px 30px 75px;box-sizing:border-box;',
          ({ hasParticipants: e }) => e && zn,
          ' ',
          ({ isCloseButtonEnabled: e }) => e && In,
          ' ',
          ({ theme: e }) =>
            e.isMobileSize &&
            Object(B.b)(Dn.className, '{width:100px;}', Hn.className, '{width:140px;}')
        ),
        Rn = Object(B.c)('div', { target: 'e12blpgd2' })({
          name: '1hzc3bv',
          styles: 'display:table-cell;position:relative;',
        }),
        Fn = Object(B.c)('div', { target: 'e12blpgd3' })({
          name: '1p486de',
          styles: 'display:table-cell;vertical-align:top;padding-top:16px;padding-left:20px;',
        }),
        Dn = Object(B.c)('h3', { target: 'e12blpgd4' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:17px;line-height:1.1em;white-space:nowrap;width:190px;overflow:hidden;text-overflow:ellipsis;'
        ),
        Hn = Object(B.c)('div', { target: 'e12blpgd5' })(
          'color:',
          Object(B.f)('headerTextColor'),
          ';font-size:13px;line-height:1.1em;white-space:nowrap;width:190px;overflow:hidden;text-overflow:ellipsis;'
        ),
        Wn = Object(B.c)('div', { target: 'e12blpgd6' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:13px;line-height:1.5;margin-bottom:5px;display:flex;'
        ),
        qn = Object(B.c)(Lt.a, { target: 'e12blpgd7' })({
          name: '1afhmo5',
          styles: 'white-space:pre-wrap;flex-direction:column;',
        }),
        Un = Object(B.c)('div', { target: 'e12blpgd8' })({
          name: 'pep080',
          styles: 'margin-top:18px;line-height:1.4;',
        }),
        Vn = Object(B.c)('div', { target: 'e12blpgd9' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:13px;white-space:nowrap;margin-bottom:5px;'
        );
      var Gn = { name: '1hs0psz', styles: 'right:8px;' };
      const $n = Object(B.c)('div', { target: 'e12blpgd10' })(
          'position:absolute;height:75px;top:0;left:65px;right:20px;padding-top:12.5px;box-sizing:border-box;overflow:hidden;transition:opacity 0.2s;&,*{cursor:pointer;}',
          ({ theme: e }) => e.isMobileSize && Gn,
          ' ',
          An.a.className,
          '{width:6px;height:6px;right:8px;bottom:2px;}'
        ),
        Xn = Object(B.c)('div', { target: 'e12blpgd11' })(
          'padding:8px;height:50px;box-sizing:border-box;border-radius:8px;',
          $n.className,
          ':hover &{background-color:rgba(0,0,0,0.1);}'
        ),
        Yn = Object(B.c)('div', { target: 'e12blpgd12' })({
          name: 'ckru8z',
          styles:
            'vertical-align:middle;white-space:nowrap;overflow:hidden;display:inline-block;float:left;padding-right:10px;position:relative;',
        }),
        Kn = Object(B.c)('div', { target: 'e12blpgd13' })({
          name: '1l3b8z5',
          styles: 'display:block;vertical-align:middle;padding-left:10px;',
        }),
        Zn = Object(B.c)('div', { target: 'e12blpgd14' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:16px;line-height:1.2em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;'
        ),
        Jn = Object(B.c)(Zn, { target: 'e12blpgd15' })({
          name: '5xavlq',
          styles: 'line-height:33px;',
        }),
        Qn = Object(B.c)('div', { target: 'e12blpgd16' })(
          'color:',
          Object(B.f)('headerTextColor'),
          ';font-size:13px;line-height:1.1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;'
        ),
        er = Object(B.c)('div', { target: 'e12blpgd17' })(
          'position:absolute;top:29px;right:24px;margin-top:0;',
          jn.className,
          ',',
          xn.className,
          ',',
          fn.className,
          '{margin-left:16px;margin-right:0;padding-bottom:3px;}',
          ({ isDownloadTranscriptButtonEnabled: e }) =>
            e &&
            Object(B.b)(
              'position:inherit;margin-top:11px;',
              jn.className,
              ',',
              xn.className,
              ',',
              fn.className,
              '{margin-left:0;margin-right:16px;}'
            ),
          ' ',
          ({ theme: e }) =>
            e.isMobileSize &&
            Object(B.b)(
              'position:inherit;margin-top:11px;',
              jn.className,
              ',',
              xn.className,
              ',',
              fn.className,
              '{margin-left:0;margin-right:16px;}'
            )
        ),
        tr = Object(B.c)('div', { target: 'e12blpgd18' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:5px;'
        ),
        nr = Object(B.c)('div', { target: 'e12blpgd19' })({
          name: '1w1avc4',
          styles:
            'margin:3px;line-height:32px;width:32px;text-align:center;float:left;white-space:nowrap;',
        }),
        rr = Object(B.c)('div', { target: 'e12blpgd20' })(
          'font-size:13px;padding:10px 30px 24px 72px;margin:0 -30px 0 -75px;color:',
          Object(B.f)('white'),
          ';'
        ),
        ar = Object(B.c)('div', { target: 'e12blpgd21' })({
          name: '9ex4jj',
          styles:
            'border-top:1px solid rgba(255,255,255,0.25);padding-left:3px;padding-top:16px;line-height:1.5;margin-bottom:5px;',
        }),
        or = Object(B.c)('div', { target: 'e12blpgd22' })(ee.h);
      function ir() {
        return (ir =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      class admin_profile_AdminProfile extends r.Component {
        getFullStyle() {
          const { percentageCollapsed: e } = this.props;
          return { opacity: 1 - e <= 0.2 ? 0 : 1 - e };
        }
        getCompactStyle() {
          const { percentageCollapsed: e } = this.props;
          return { opacity: e <= 0.8 ? 0 : e };
        }
        handleSocialAccountClick(e) {
          e.stopPropagation();
        }
        handleCalendarIconClick(e) {
          e.stopPropagation();
        }
        hasActiveOrAwayResponse() {
          return null !== this.props.admin.isActive;
        }
        shouldRenderParticipants() {
          return this.props.participants.length > 0;
        }
        activeOrAwayInWords() {
          return this.props.admin.isActive
            ? Object(g.e)('active_state')
            : Object(g.e)('away_state');
        }
        adminState() {
          return this.props.admin.isBot ? Object(g.e)('bot') : this.humanAdminState();
        }
        humanAdminState() {
          return this.hasActiveOrAwayResponse()
            ? this.activeOrAwayInWords()
            : this.props.admin.lastActiveAt
            ? Object(Nn.d)(this.props.admin.lastActiveAt)
            : void 0;
        }
        renderActiveOrAwayState() {
          return (
            this.hasActiveOrAwayResponse() &&
            a.a.createElement(An.a, { isActive: this.props.admin.isActive })
          );
        }
        renderPublicLinks() {
          const { admin: e, isDownloadTranscriptButtonEnabled: t } = this.props,
            { socialAccounts: n, calendarUrl: r } = e;
          return 0 !== n.length || r
            ? a.a.createElement(
                er,
                { isDownloadTranscriptButtonEnabled: t },
                this.renderSocialAccountIcons(),
                this.renderCalendarIcon()
              )
            : null;
        }
        renderCalendarIcon() {
          const { calendarUrl: e } = this.props.admin;
          return e
            ? a.a.createElement(
                'a',
                {
                  'href': e,
                  'aria-label': Object(g.e)('teammate_calendar_link'),
                  'target': '_blank',
                  'onClick': this.handleCalendarIconClick,
                  'tabIndex': '0',
                },
                a.a.createElement(On, null)
              )
            : null;
        }
        renderSocialAccountIcons() {
          const { socialAccounts: e } = this.props.admin,
            t = 0 === this.props.percentageCollapsed;
          return e.map((e, n) => {
            const { profileUrl: r, provider: o } = e;
            return a.a.createElement(
              'a',
              {
                'key': n,
                'href': r,
                'target': '_blank',
                'onClick': this.handleSocialAccountClick,
                'aria-label': Object(g.e)('teammate_profile', { provider: o }),
                'tabIndex': t ? 0 : -1,
              },
              this.renderSocialAccountIcon(o)
            );
          });
        }
        renderSocialAccountIcon(e) {
          switch (e) {
            case 'linkedin':
              return a.a.createElement(vn, null);
            case 'twitter':
              return a.a.createElement(yn, null);
            default:
              return null;
          }
        }
        locationExists() {
          const { location: e } = this.props.admin;
          if (!e) return !1;
          const { countryName: t } = e;
          return t && t.length > 0;
        }
        getLocationText(e) {
          const { cityName: t, countryName: n } = e;
          return t && t.length > 0 ? `${t}, ${n}` : n;
        }
        getTimeText(e) {
          if (null != e) return Object(Nn.b)(new Date(), e);
        }
        renderLocation() {
          const { location: e } = this.props.admin,
            t = this.getLocationText(e),
            n = this.getTimeText(e.timezoneOffset);
          return a.a.createElement(
            tr,
            null,
            a.a.createElement(Tn, null),
            n ? Object(g.e)('profile_location', { time: n, location: t }) : t
          );
        }
        renderRemainingParticipantCount(e) {
          return 0 === e
            ? null
            : a.a.createElement(nr, null, Object(g.e)('plus_x_participants', { count: e }));
        }
        renderConversationParticipants() {
          const { participants: e } = this.props,
            t = e.slice(0, 13),
            n = e.slice(13).length;
          return a.a.createElement(
            rr,
            null,
            a.a.createElement(ar, null, Object(g.e)('also_in_this_conversation')),
            a.a.createElement(
              or,
              null,
              t.map((e, t) =>
                a.a.createElement(
                  conversation_participant_ConversationParticipant,
                  ir({ key: t }, e)
                )
              ),
              this.renderRemainingParticipantCount(n)
            )
          );
        }
        renderJobTitleAndLocation() {
          const { jobTitle: e } = this.props.admin,
            t = this.locationExists();
          return e || t
            ? a.a.createElement(
                Un,
                null,
                e
                  ? a.a.createElement(
                      Vn,
                      null,
                      a.a.createElement(Pn, null),
                      a.a.createElement(Lt.a, { text: e })
                    )
                  : null,
                t ? this.renderLocation() : null
              )
            : null;
        }
        renderFull() {
          const { admin: e, isCloseButtonEnabled: t } = this.props,
            { firstName: n, intro: r } = e,
            o = this.getFullStyle();
          return a.a.createElement(
            Ln,
            {
              'style': o,
              'aria-hidden': 0 === o.opacity,
              'hasParticipants': this.shouldRenderParticipants(),
              'isCloseButtonEnabled': t,
            },
            a.a.createElement(
              Rn,
              null,
              a.a.createElement(Kt.a, { admin: e, size: 60 }),
              this.renderActiveOrAwayState()
            ),
            a.a.createElement(
              Fn,
              null,
              a.a.createElement(Dn, null, n),
              a.a.createElement(Hn, null, this.adminState())
            ),
            this.renderJobTitleAndLocation(),
            r
              ? a.a.createElement(
                  Wn,
                  null,
                  a.a.createElement(Bn, null),
                  a.a.createElement(qn, { text: r })
                )
              : null,
            this.renderPublicLinks(),
            this.shouldRenderParticipants() ? this.renderConversationParticipants() : null
          );
        }
        renderCompactBody() {
          const { firstName: e } = this.props.admin;
          return a.a.createElement(
            Xn,
            null,
            a.a.createElement(
              Yn,
              null,
              a.a.createElement(Kt.a, { admin: this.props.admin }),
              this.renderActiveOrAwayState()
            ),
            a.a.createElement(
              Kn,
              null,
              a.a.createElement(Zn, null, e),
              a.a.createElement(Qn, null, this.adminState())
            )
          );
        }
        renderParticipantCompactBody() {
          const { firstName: e, initial: t, avatar: n, isActive: r } = this.props.admin,
            o = [{ name: e, type: 'Admin', isActive: r, initial: t, avatar: n }].concat(
              this.props.participants
            ),
            i = this.props.participants.length;
          return a.a.createElement(
            Xn,
            null,
            a.a.createElement(kn.a, { admins: o }),
            a.a.createElement(
              Kn,
              null,
              a.a.createElement(
                Jn,
                null,
                i > 1
                  ? Object(g.e)('name_and_x_others', { name: e, count: i })
                  : Object(g.e)('name_and_1_other', { name: e })
              )
            )
          );
        }
        renderCompact() {
          const { onExpand: e, percentageCollapsed: t } = this.props,
            n = this.getCompactStyle(),
            r = 1 !== t;
          return a.a.createElement(
            $n,
            ir(
              {
                'style': n,
                'aria-hidden': 0 === n.opacity,
                'aria-expanded': r,
                'tabIndex': r ? '-1' : '0',
                'role': r ? 'region' : 'button',
              },
              r ? {} : { 'aria-label': Object(g.e)('expand_header') },
              { onClick: e }
            ),
            this.shouldRenderParticipants()
              ? this.renderParticipantCompactBody()
              : this.renderCompactBody()
          );
        }
        render() {
          const e = 1 === this.props.percentageCollapsed;
          return a.a.createElement(Mn, { isCollapsed: e }, this.renderFull(), this.renderCompact());
        }
      }
      admin_profile_AdminProfile.propTypes = {
        admin: h.a.shape({
          firstName: h.a.string.isRequired,
          initial: h.a.string,
          lastActiveAt: h.a.instanceOf(Date),
          isActive: h.a.bool,
          isBot: h.a.bool,
          socialAccounts: h.a.arrayOf(
            h.a.shape({ profileUrl: h.a.string.isRequired, provider: h.a.string.isRequired })
          ).isRequired,
          avatar: h.a.shape({ square128: h.a.string }),
          location: h.a.shape({
            cityName: h.a.string,
            countryName: h.a.string,
            countryCode: h.a.string,
            timezoneOffset: h.a.number,
          }),
          jobTitle: h.a.string,
          calendarUrl: h.a.string,
          intro: h.a.string,
        }),
        participants: h.a.arrayOf(
          h.a.shape({
            name: h.a.string,
            initial: h.a.string,
            avatar: h.a.object,
            type: h.a.oneOf(['Admin', 'User', 'Team']),
          })
        ).isRequired,
        percentageCollapsed: h.a.number,
        isCloseButtonEnabled: h.a.bool,
        onExpand: h.a.func,
        isDownloadTranscriptButtonEnabled: h.a.bool,
      };
      var sr = Object(i.connect)((e) => ({ isCloseButtonEnabled: It(e) }))(
          admin_profile_AdminProfile
        ),
        lr = n(9);
      const cr = Object(B.d)(
          '0%{opacity:0;transform:translateX(20px);}100%{opacity:1;transform:translateX(0);}'
        ),
        dr = Object(B.d)(
          '0%{opacity:0;transform:translateX(10px);}100%{opacity:1;transform:translateX(0);}'
        ),
        pr = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(20px);}'
        ),
        ur = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(10px);}'
        ),
        mr = Object(B.c)('div', { target: 'efz2uwp0' })(),
        hr = Object(B.c)('div', { target: 'efz2uwp1' })(
          'position:absolute;top:0;left:0;right:0;outline-offset:-5px;',
          ({ isCloseButtonEnabled: e }) =>
            e &&
            Object(B.b)(
              $n.className,
              ',',
              hn.className,
              '{right:61px;}',
              er.className,
              '{position:inherit;margin-top:11px;',
              jn.className,
              ',',
              xn.className,
              ',',
              fn.className,
              '{margin-left:0;margin-right:16px;}}'
            ),
          ' .intercom-messenger-from-inline-article-view &.intercom-messenger-header-view-enter,.intercom-messenger-from-browse-mode &.intercom-messenger-header-view-enter{',
          mr.className,
          '{animation-delay:',
          '260ms',
          ';}',
          Fe.className,
          '{animation-delay:',
          '260ms',
          ';}.intercom-download-transcript-button{animation-delay:',
          '260ms',
          ';}}&.intercom-messenger-header-view-enter{',
          mr.className,
          '{animation-name:',
          cr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}',
          Fe.className,
          '{animation-name:',
          dr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}.intercom-download-transcript-button{animation-name:',
          dr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}}&.intercom-messenger-header-view-exit{',
          mr.className,
          '{animation-name:',
          pr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '0s',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}',
          Fe.className,
          '{animation-name:',
          ur,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '0s',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}.intercom-download-transcript-button{animation-name:',
          ur,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '0s',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}}'
        );
      function br(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function gr(e) {
        for (var t = 1; t < arguments.length; t++) {
          var n = null != arguments[t] ? arguments[t] : {};
          t % 2
            ? br(Object(n), !0).forEach(function (t) {
                fr(e, t, n[t]);
              })
            : Object.getOwnPropertyDescriptors
            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
            : br(Object(n)).forEach(function (t) {
                Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
              });
        }
        return e;
      }
      function fr(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_header_ConversationHeader extends r.PureComponent {
        constructor(...e) {
          super(...e), fr(this, 'node', void 0);
        }
        componentDidMount() {
          this.calculateHeight();
        }
        componentDidUpdate(e) {
          const t = gr(gr({}, e.lastParticipatingAdmin), {}, { lastActiveAt: null }),
            n = gr(gr({}, this.props.lastParticipatingAdmin), {}, { lastActiveAt: null });
          Ce()(t, n) || this.calculateHeight();
        }
        calculateHeight() {
          if (!this.node) return;
          const { height: e } = this.node.getBoundingClientRect();
          this.props.onHeightChange(e);
        }
        render() {
          const {
              lastParticipatingAdmin: e,
              participants: t,
              appName: n,
              appTeamIntro: r,
              teamName: o,
              percentageCollapsed: i,
              onExpand: s,
              isCloseButtonEnabled: l,
              accessToTeammateEnabled: c,
            } = this.props,
            d = 1 !== i,
            p = !Object(lr.i)() && d && !!e;
          return a.a.createElement(
            hr,
            { ref: (e) => (this.node = e), isCloseButtonEnabled: l },
            a.a.createElement(zt, {
              currentView: 'conversation',
              percentageCollapsed: i,
              isDownloadTranscriptButtonEnabled: p,
            }),
            a.a.createElement(
              mr,
              null,
              e
                ? a.a.createElement(sr, {
                    appName: n,
                    admin: e,
                    participants: t,
                    percentageCollapsed: i,
                    onExpand: s,
                    isDownloadTranscriptButtonEnabled: p,
                  })
                : a.a.createElement(team_profile_TeamProfile, {
                    appName: o || n,
                    appTeamIntro: r,
                    percentageCollapsed: i,
                    onExpand: s,
                    accessToTeammateEnabled: c,
                  })
            )
          );
        }
      }
      var vr = Object(i.connect)((e) => {
        const t = Object(Bt.b)(e),
          { parts: n, lastParticipatingAdmin: r, participants: a } = t,
          { name: o, teamIntro: i } = e.app,
          s = It(e),
          l = Object(j.a)(e);
        let c;
        const d = n[0] ? n[0].teamAuthor : void 0;
        return (
          d && (c = d.name),
          {
            appName: o,
            appTeamIntro: i,
            teamName: c,
            lastParticipatingAdmin: r,
            participants: a,
            isCloseButtonEnabled: s,
            accessToTeammateEnabled: l,
          }
        );
      })(conversation_header_ConversationHeader);
      const xr = Object(B.d)(
          '0%{opacity:0;transform:translateX(-20px);}100%{opacity:1;transform:translateX(0);}'
        ),
        yr = Object(B.d)(
          '0%{opacity:0;transform:translateX(-10px);}100%{opacity:1;transform:translateX(0);}'
        ),
        jr = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(-20px);}'
        ),
        Or = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(-10px);}'
        ),
        Cr = Object(B.d)(
          '0%{opacity:0;transform:translateX(20px);}100%{opacity:1;transform:translateX(0);}'
        ),
        wr = Object(B.d)(
          '0%{opacity:0;transform:translateX(10px);}100%{opacity:1;transform:translateX(0);}'
        ),
        Er = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(20px);}'
        ),
        kr = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(10px);}'
        ),
        Sr = Object(B.c)('h2', { target: 'e1i6jf5t0' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';font-size:20px;text-align:center;line-height:75px;'
        ),
        _r = Object(B.c)('div', { target: 'e1i6jf5t1' })(
          'position:absolute;top:0;left:0;right:0;height:75px;',
          Le.className,
          '{display:none;}&.intercom-messenger-header-view-enter{',
          Sr.className,
          '{animation-name:',
          Cr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}',
          Fe.className,
          '{animation-name:',
          wr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}}&.intercom-messenger-header-view-exit{',
          Sr.className,
          '{animation-name:',
          Er,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '0s',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}',
          Fe.className,
          '{animation-name:',
          kr,
          ';animation-duration:',
          '250ms',
          ';animation-delay:',
          '0s',
          ';animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}}.intercom-messenger-from-conversation &.intercom-messenger-header-view-enter,.intercom-messenger-from-new-conversation &.intercom-messenger-header-view-enter{',
          Sr.className,
          '{animation-name:',
          xr,
          ';}',
          Fe.className,
          '{animation-name:',
          yr,
          ';}}.intercom-messenger-conversation &.intercom-messenger-header-view-exit,.intercom-messenger-new-conversation &.intercom-messenger-header-view-exit{',
          Sr.className,
          '{animation-name:',
          jr,
          ';}',
          Fe.className,
          '{animation-name:',
          Or,
          ';}}'
        );
      class conversations_header_ConversationsHeader extends r.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'node', void 0);
        }
        componentDidMount() {
          if (!this.node) return;
          const { height: e } = this.node.getBoundingClientRect();
          this.props.onHeightChange(e);
        }
        renderBody() {
          return a.a.createElement(Sr, null, Object(g.e)('your_conversations'));
        }
        render() {
          return a.a.createElement(
            _r,
            { ref: (e) => (this.node = e) },
            a.a.createElement(zt, { currentView: 'conversations' }),
            this.renderBody()
          );
        }
      }
      var Pr = Object(i.connect)((e) => ({ appName: e.app.name }))(
        conversations_header_ConversationsHeader
      );
      const Tr = {
          name: '72rvq0',
          styles: 'white-space:nowrap;text-overflow:ellipsis;overflow:hidden;',
        },
        Br = Object(B.c)('div', { target: 'ea5aea20' })(
          Tr,
          ' > span{',
          Tr,
          '}> span > span{white-space:pre;}'
        );
      var Nr = n(15);
      function Ar(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class fit_text_FitText extends r.PureComponent {
        constructor(...e) {
          super(...e),
            Ar(this, 'canvas', void 0),
            Ar(this, 'node', void 0),
            Ar(this, 'state', { maxWidth: -1 }),
            Ar(this, 'canvas', window.document.createElement('canvas')),
            Ar(this, 'setMaxWidth', () => {
              const { node: e } = this;
              if (!e) return;
              const { width: t } = e.getBoundingClientRect();
              this.setState({ maxWidth: this.props.maxWidth || t }, () => {
                const { onTextFit: e } = this.props;
                e && setTimeout(() => e(), 1);
              });
            });
        }
        componentDidMount() {
          this.setMaxWidth();
        }
        componentDidUpdate() {
          this.state.maxWidth <= 0 && this.setMaxWidth();
        }
        getCanvasFontSize() {
          const e = this.canvas.getContext('2d').font.match(/\d+/);
          return e ? e[0] : this.props.minFontSize;
        }
        fitTextSize() {
          if (!this.canvas) return;
          const { children: e, minFontSize: t, maxFontSize: n } = this.props;
          if (!e || !e.props || !e.props.text)
            return void Object(Nr.a)(
              'The child of a FitText component has to be either a Text component or a styled component wrapping a Text component.'
            );

          const canvas = this.canvas;
          const canvasContext = canvas.getContext('2d');
          const proxText = e.props.text;
          const r = canvasContext.measureText(proxText);
          const a = this.getCanvasFontSize();
          const stateMaxWidth = this.state.maxWidth;
          const o = Math.floor((parseFloat(a) * parseInt(stateMaxWidth, 10)) / r.width);
          const rtnVal = o > t && o < n ? o : o >= n ? n : t;
          return rtnVal;
        }
        getStyle() {
          return this.state.maxWidth
            ? { fontSize: this.fitTextSize(), maxWidth: this.state.maxWidth }
            : {};
        }
        render() {
          return a.a.createElement(
            Br,
            { ref: (e) => (this.node = e), style: this.getStyle() },
            this.props.children
          );
        }
      }
      const Mr = Object(B.d)(
          '0%{opacity:0;transform:translateY(20px);}100%{opacity:1;transform:translateY(0);}'
        ),
        Ir = Object(B.d)(
          '0%{opacity:0;transform:translateX(-20px);}100%{opacity:1;transform:translateX(0);}'
        ),
        zr = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(-20px);}'
        ),
        Lr = Object(B.c)('div', { target: 'e1n5ubry0' })(({ parallaxY: e, opacity: t }) =>
          Object(B.b)('transform:translateY(', e, 'px);opacity:', t, ';')
        ),
        Rr = Object(B.c)('div', { target: 'e1n5ubry1' })(),
        Fr = Object(B.c)('div', { target: 'e1n5ubry2' })({
          name: '19b3utr',
          styles:
            'height:32px;padding-bottom:16px;img{max-width:100%;max-height:100%;margin:auto 0;display:block;}',
        }),
        Dr = Object(B.c)(Lt.a, { target: 'e1n5ubry3' })(
          'color:',
          Object(B.f)('headerTitleColor'),
          ';display:block;line-height:1.5em;'
        ),
        Hr = Object(B.c)(Lt.a, { target: 'e1n5ubry4' })(
          'color:',
          Object(B.f)('headerTextColor'),
          ';display:block;font-size:1em;line-height:1.5em;overflow-wrap:break-word;word-wrap:break-word;white-space:pre-line;'
        );
      var Wr = { name: '17yz4p5', styles: 'padding-right:51px;' },
        qr = { name: 'gyp8mm', styles: 'visibility:hidden;' },
        Ur = { name: '1ycl6ui', styles: 'transform:scale(0.95);opacity:0;' };
      const Vr = Object(B.c)('div', { target: 'e1n5ubry5' })(
        'position:absolute;top:0;left:0;right:0;padding:24px 40px;padding-bottom:87px;box-sizing:border-box;transition:transform 0.3s ease-out,opacity 0.3s ease-out;transform:scale(1);',
        ({ inBackground: e }) => e && Ur,
        ' ',
        ({ hideNonSearchBrowseCards: e }) => e && qr,
        ' ',
        ({ isCloseButtonEnabled: e }) => e && Wr,
        ' &.intercom-messenger-header-view-appear{',
        Rr.className,
        '{animation-name:',
        Mr,
        ';animation-duration:',
        '250ms',
        ';animation-delay:',
        '300ms',
        ';animation-timing-function:',
        'ease-out',
        ';animation-fill-mode:both;}}&.intercom-messenger-header-view-enter{',
        Rr.className,
        '{animation-name:',
        Ir,
        ';animation-duration:',
        '250ms',
        ';animation-delay:',
        '150ms',
        ';animation-timing-function:',
        'ease-out',
        ';animation-fill-mode:both;}}.intercom-messenger-from-browse-mode &.intercom-messenger-header-view-appear,.intercom-messenger-from-browse-mode &.intercom-messenger-header-view-enter{',
        Rr.className,
        '{animation:none;}}',
        ({ wasBooting: e }) =>
          e &&
          Object(B.b)(
            '&.intercom-messenger-header-view-enter{',
            Rr.className,
            '{animation-name:',
            Mr,
            ';animation-duration:',
            '250ms',
            ';animation-delay:',
            '0s',
            ';animation-timing-function:',
            'ease-out',
            ';animation-fill-mode:both;}}'
          ),
        ' &.intercom-messenger-header-view-exit{',
        Rr.className,
        '{animation-name:',
        zr,
        ';animation-duration:',
        '250ms',
        ';animation-delay:',
        '0s',
        ';animation-timing-function:',
        'ease-out',
        ';animation-fill-mode:both;}}'
      );
      function Gr(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const $r = (e) => (e / 4) * -1;
      class home_screen_header_HomeScreenHeader extends r.PureComponent {
        constructor(...e) {
          super(...e),
            Gr(this, 'node', void 0),
            Gr(this, 'handleHeightChange', () => {
              if (!this.node) return;
              const { height: e } = this.node.getBoundingClientRect();
              this.props.onHeightChange(e);
            });
        }
        componentDidMount() {
          this.handleHeightChange();
        }
        render() {
          const {
              teamGreeting: e,
              teamIntro: t,
              logoUrl: n,
              appName: r,
              parallaxOpacity: o,
              isCloseButtonEnabled: i,
              bodyScrollTop: s,
              wasBooting: l,
              inBackground: c,
              hideNonSearchBrowseCards: d,
            } = this.props,
            p = `${r} logo`;
          return a.a.createElement(
            Vr,
            {
              ref: (e) => (this.node = e),
              isCloseButtonEnabled: i,
              wasBooting: l,
              inBackground: c,
              hideNonSearchBrowseCards: d,
            },
            a.a.createElement(zt, { currentView: 'home-screen' }),
            a.a.createElement(
              Lr,
              { opacity: o, parallaxY: $r(s) },
              a.a.createElement(
                Rr,
                null,
                n
                  ? a.a.createElement(Fr, null, a.a.createElement('img', { src: n, alt: p }))
                  : null,
                e
                  ? a.a.createElement(
                      'h1',
                      null,
                      a.a.createElement(
                        fit_text_FitText,
                        { minFontSize: 20, maxFontSize: 32, onTextFit: this.handleHeightChange },
                        a.a.createElement(Dr, { text: e })
                      )
                    )
                  : null,
                t ? a.a.createElement('h2', null, a.a.createElement(Hr, { text: t })) : null
              )
            )
          );
        }
      }
      var Xr = Object(i.connect)((e) => {
        const { teamGreeting: t, teamIntro: n, logoUrl: r, name: a } = e.app;
        return {
          teamGreeting: t,
          teamIntro: n,
          logoUrl: r,
          appName: a,
          isCloseButtonEnabled: It(e),
          inBackground: Object(Mt.c)(e),
          hideNonSearchBrowseCards: Object(j.i)(e),
        };
      })(home_screen_header_HomeScreenHeader);
      class empty_header_EmptyHeader extends r.PureComponent {
        render() {
          return a.a.createElement(zt, { currentView: 'empty-screen', isBackButtonEnabled: !1 });
        }
      }
      function Yr() {
        return (Yr =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      !(function (e, t, n) {
        t in e
          ? Object.defineProperty(e, t, {
              value: n,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (e[t] = n);
      })(empty_header_EmptyHeader, 'defaultProps', { isCloseButtonEnabled: !0 });
      const Kr = Object(f.createStructuredSelector)({
        backgroundImage: (e) => e.app.backgroundImage,
      });
      var Zr = Object(i.connect)(Kr)(function (e) {
          const {
              currentView: t,
              isBooting: n,
              wasBooting: r,
              percentageCollapsed: o,
              bodyScrollTop: i,
              height: s,
              frameWindow: l,
              onExpand: c,
              onHeightChange: d,
              parallaxOpacity: p,
              backgroundImage: u,
            } = e,
            m = 0 !== o && 1 !== o,
            { backgroundUrl: h, backgroundSize: g } = We(u);
          return a.a.createElement(
            Me,
            {
              style: { height: s },
              className: 'intercom-messenger-header',
              isScrolling: m,
              backgroundUrl: h,
              backgroundSize: g,
              lightBackground: 'browse-mode' === t,
            },
            a.a.createElement(
              b.TransitionGroup,
              { appear: !0 },
              (() => {
                const e = {
                  key: n ? 'booting' : t,
                  classNames: 'intercom-messenger-header-view',
                  timeout: { enter: 500, exit: 250 },
                };
                return n
                  ? a.a.createElement(
                      b.CSSTransition,
                      e,
                      a.a.createElement(booting_header_BootingHeader, {
                        key: 'booting',
                        onHeightChange: d,
                      })
                    )
                  : 'home-screen' === t
                  ? a.a.createElement(
                      b.CSSTransition,
                      e,
                      a.a.createElement(Xr, {
                        parallaxOpacity: p,
                        height: s,
                        bodyScrollTop: i,
                        onHeightChange: d,
                        wasBooting: r,
                      })
                    )
                  : 'conversations' === t
                  ? a.a.createElement(
                      b.CSSTransition,
                      e,
                      a.a.createElement(Pr, { key: 'conversations', onHeightChange: d })
                    )
                  : 'empty-screen' === t || 'messenger-trigger' === t
                  ? a.a.createElement(
                      b.CSSTransition,
                      e,
                      a.a.createElement(empty_header_EmptyHeader, { key: 'empty' })
                    )
                  : 'conversation' === t || 'new-conversation' === t
                  ? a.a.createElement(
                      b.CSSTransition,
                      Yr({}, e, { key: 'conversation' }),
                      a.a.createElement(vr, {
                        percentageCollapsed: o,
                        frameWindow: l,
                        onExpand: c,
                        onHeightChange: d,
                      })
                    )
                  : void 0;
              })()
            )
          );
        }),
        Jr = n(515),
        Qr = n(472),
        ea = n(499);
      class booting_Booting extends r.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'state', { showSpinner: !1 });
        }
        componentDidMount() {
          this.showSpinnerTimer = setTimeout(() => {
            this.setState({ showSpinner: !0 });
          }, this.props.spinnerDelay);
        }
        componentWillUnmount() {
          clearTimeout(this.showSpinnerTimer);
        }
        renderError() {
          return a.a.createElement(
            ea.a,
            { duration: 200 },
            a.a.createElement(
              vt,
              null,
              a.a.createElement(xt, null, Object(g.e)('something_is_wrong')),
              a.a.createElement(yt, null, Object(g.e)('unable_to_load_the_messenger')),
              a.a.createElement(
                jt,
                null,
                a.a.createElement(
                  Ot,
                  { onClick: this.props.onRetryClick },
                  Object(g.e)('try_again')
                )
              )
            )
          );
        }
        render() {
          const { bootFailed: e } = this.props;
          return a.a.createElement(
            ft,
            null,
            e ? this.renderError() : null,
            !e && this.state.showSpinner
              ? a.a.createElement(ea.a, { duration: 200 }, a.a.createElement(Qr.a, null))
              : null
          );
        }
      }
      (booting_Booting.defaultProps = { spinnerDelay: 1e3 }),
        (booting_Booting.propTypes = {
          bootFailed: h.a.bool.isRequired,
          spinnerDelay: h.a.number,
          onRetryClick: h.a.func,
        });
      var ta = n(58);
      var na = Object(i.connect)(
        (e) => {
          const { bootFailed: t } = e.app,
            { url: n, customAttributes: r, anonymousSessionDuration: a } = e.user,
            { launcherEnabledOverride: o } = e.launcher,
            { alignment: i, horizontalPadding: s, verticalPadding: l } = Object(d.a)(e);
          return {
            bootFailed: t,
            url: n,
            customAttributes: r,
            launcherEnabledOverride: o,
            anonymousSessionDuration: a,
            customizationAttributes: { alignment: i, horizontalPadding: s, verticalPadding: l },
          };
        },
        (e) => ({
          onRetryClick(t, n, r, a, o) {
            e(Object(ta.b)(rt.b, null, t, n, r, a, o, !0));
          },
        }),
        (e, t) =>
          Object.assign({}, e, t, {
            onRetryClick() {
              const {
                url: n,
                customAttributes: r,
                launcherEnabledOverride: a,
                anonymousSessionDuration: o,
                customizationAttributes: i,
              } = e;
              t.onRetryClick(n, r, a, o, i);
            },
          })
      )(booting_Booting);
      class blocking_loader_BlockingLoader extends r.Component {
        render() {
          return a.a.createElement(
            'div',
            null,
            a.a.createElement(ea.a, { duration: 50 }, a.a.createElement(Qr.a, null))
          );
        }
      }
      class messenger_trigger_screen_MessengerTriggerScreen extends r.PureComponent {
        renderError() {
          return a.a.createElement(
            ea.a,
            { duration: 200 },
            a.a.createElement(
              vt,
              null,
              a.a.createElement(xt, null, Object(g.e)('something_is_wrong')),
              a.a.createElement(yt, null, Object(g.e)('unable_to_load_the_messenger')),
              a.a.createElement(
                jt,
                null,
                a.a.createElement(
                  Ot,
                  { onClick: this.props.handleTryAgain },
                  Object(g.e)('try_again')
                )
              )
            )
          );
        }
        renderLoading() {
          return a.a.createElement(ea.a, { duration: 200 }, a.a.createElement(Qr.a, null));
        }
        render() {
          const { failed: e } = this.props;
          return a.a.createElement(ft, null, e && this.renderError(), !e && this.renderLoading());
        }
      }
      var ra = n(79),
        aa = n(130);
      function oa() {
        return (e) => {
          e(Object(ra.e)(rt.b));
        };
      }
      var ia = Object(i.connect)(
          function (e) {
            return { failed: Object(aa.b)(e) };
          },
          function (e) {
            return Object(ke.bindActionCreators)({ handleTryAgain: oa }, e);
          }
        )(messenger_trigger_screen_MessengerTriggerScreen),
        sa = n(643);
      const la = Object(B.c)('span', { target: 'e8nm57p0' })({
          name: '1ckzipv',
          styles:
            'position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;justify-content:center;',
        }),
        ca = Object(B.c)(sa.a, { target: 'e8nm57p1' })(
          'text-align:center;border-radius:9999px;border:2px solid;box-sizing:border-box;color:',
          Object(B.f)('grey'),
          ';position:relative;display:block;font-weight:700;padding:0 24px;min-height:40px;margin:0 auto;user-select:none;'
        );
      var da = n(644);
      class empty_screen_EmptyScreen extends r.PureComponent {
        render() {
          return a.a.createElement(
            la,
            null,
            a.a.createElement(
              da.b,
              { align: 'center', isBottomNone: !0 },
              Object(g.e)('nothing_to_see_here_yet')
            ),
            a.a.createElement(
              da.b,
              { variant: 'muted', align: 'center' },
              Object(g.e)('no_messages_from_the_team')
            ),
            a.a.createElement(ca, {
              label: Object(g.e)('close'),
              onClick: this.props.handleCloseMessenger,
            })
          );
        }
      }
      var pa = Object(i.connect)(
          function (e) {
            const { isIntercomLinkEnabled: t } = e.app;
            return { isIntercomLinkEnabled: t };
          },
          function (e) {
            return {
              handleCloseMessenger() {
                e(X.b.closeMessenger());
              },
            };
          }
        )(empty_screen_EmptyScreen),
        ua = n(62),
        ma = n(231),
        ha = n(580),
        ba = n(516);
      const ga = Object(B.c)('button', { target: 'esf9qb10' })(
          'height:40px;color:',
          Object(B.f)('buttonTextColor'),
          ';font-size:14px;line-height:40px;pointer-events:auto;cursor:pointer;border-radius:40px;text-align:center;transition:all 120ms;padding:0 24px;span{padding-left:10px;white-space:nowrap;font-weight:600;}',
          ({ variant: e, theme: t }) =>
            'default' === e &&
            Object(B.b)(
              'background-color:',
              t.buttonBackgroundColor,
              ';color:',
              t.buttonTextColor,
              ';transition:color 0.3s,background-color 0.3s;&:hover{background-color:',
              t.buttonBackgroundColorHover,
              ';}&:active{background-color:',
              t.buttonBackgroundColorActive,
              ';}'
            ),
          ' ',
          ({ variant: e, theme: t }) =>
            'default' === e &&
            t.isPrimaryColorLight &&
            Object(B.b)('border:1px solid ', t.lightGrey2, ';'),
          ' ',
          ({ variant: e, theme: t }) =>
            'secondary' === e &&
            t.isPrimaryColorLight &&
            Object(B.b)(
              'background-color:',
              t.buttonBackgroundColor,
              ';color:',
              t.buttonTextColor,
              ';transition:color 0.3s,background-color 0.3s;border:1px solid ',
              t.lightGrey2,
              ';&:hover{background-color:',
              t.buttonBackgroundColorHover,
              ';}&:active{background-color:',
              t.buttonBackgroundColorActive,
              ';}'
            ),
          ' ',
          ({ variant: e, theme: t }) =>
            'secondary' === e &&
            !t.isPrimaryColorLight &&
            Object(B.b)(
              'background-color:',
              t.white,
              ';color:',
              t.buttonBackgroundColor,
              ';border:1px solid ',
              t.buttonBackgroundColor,
              ';transition:color 0.3s,background-color 0.3s,border 0.3s;&:hover{color:',
              t.buttonBackgroundColorHover,
              ';border:1px solid ',
              t.buttonBackgroundColorHover,
              ';}&:active{color:',
              t.buttonBackgroundColorActive,
              ';border:1px solid ',
              t.buttonBackgroundColorActive,
              ';}'
            ),
          ' ',
          ({ variant: e, theme: t }) =>
            'fixed' === e &&
            Object(B.b)(
              'background-color:',
              t.appColor,
              ';box-shadow:0px 4px 12px rgba(0,0,0,0.1);position:absolute;bottom:',
              t.newConversationButtonBottomPx,
              'px;left:50%;transform:translateX(-50%);&:hover{box-shadow:0 8px 24px rgba(0,0,0,0.2);}&:active{transform:translateX(-50%) translateY(2px);box-shadow:0px 4px 12px rgba(0,0,0,0.1);}'
            )
        ),
        fa = Object(B.c)('div', { target: 'esf9qb11' })({
          name: '18biwo',
          styles: 'display:inline-flex;align-items:center;',
        }),
        va = Object(B.c)('svg', { target: 'ecfs73l0' })(
          'width:15px;height:16px;path{fill:',
          Object(B.f)('buttonTextColor'),
          ';}',
          ({ variant: e, theme: t }) =>
            !t.isPrimaryColorLight &&
            'secondary' === e &&
            Object(B.b)(
              'path{fill:',
              t.buttonBackgroundColor,
              ';}',
              ga.className,
              ':hover &{path{fill:',
              t.buttonBackgroundColorHover,
              ';}}',
              ga.className,
              ':active{path{fill:',
              t.buttonBackgroundColorActive,
              ';}}'
            ),
          ' ',
          ee.i
        );
      function xa({ variant: e }) {
        return a.a.createElement(
          va,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 15 16', 'variant': e },
          a.a.createElement(
            'g',
            { transform: 'translate(-24.000000, -12.000000)' },
            a.a.createElement('path', {
              d: 'M25.4036262,27.3409362 C24.4176893,27.8509036 23.8195834,27.3951055 24.0683403,26.3201996 L25.0887779,21.910776 C25.2131242,21.3734618 25.7510472,20.8884231 26.3078778,20.8254187 L32.503417,20.1244045 C34.151155,19.9379658 34.1569707,19.6389088 32.503417,19.4549971 L26.3078778,18.7659164 C25.7589338,18.7048617 25.2129433,18.217839 25.0887779,17.6798715 L24.0683403,13.2586546 C23.8198614,12.1820783 24.408944,11.7182276 25.4036262,12.2327184 L38.22304,18.8634497 C39.208977,19.373417 39.2177223,20.1957141 38.22304,20.7102049 L25.4036262,27.3409362 Z',
            })
          )
        );
      }
      function ya(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class new_conversation_button_NewConversationButton extends r.PureComponent {
        constructor(...e) {
          super(...e),
            ya(this, 'handleNewConversationClick', () => {
              this.addNewConversationMetric(), this.props.onClick();
            }),
            ya(this, 'addNewConversationMetric', () => {
              Object(T.e)(
                'clicked',
                'new_conversation',
                'messenger',
                this.props.metricsContext,
                this.props.metadata,
                'm4_metric'
              );
            });
        }
        render() {
          const { variant: e, IconComponent: t } = this.props;
          return a.a.createElement(
            ga,
            {
              variant: e,
              className: 'new-conversation-button',
              onClick: this.handleNewConversationClick,
            },
            a.a.createElement(
              fa,
              null,
              a.a.createElement(t, { variant: e }),
              a.a.createElement('span', null, Object(g.e)(this.props.contentId))
            )
          );
        }
      }
      ya(new_conversation_button_NewConversationButton, 'defaultProps', {
        variant: 'default',
        contentId: 'send_us_a_message',
        IconComponent: xa,
        metadata: {},
      });
      var ja = n(645);
      const Oa = Object(B.c)('button', { target: 'ed73yuc0' })(
        'height:40px;color:',
        Object(B.f)('buttonTextColor'),
        ';background-color:',
        Object(B.f)('buttonBackgroundColor'),
        ';transition:color background-color 0.3s,all 120ms;font-size:14px;line-height:40px;pointer-events:auto;cursor:pointer;border-radius:40px;text-align:center;padding:0 24px;display:inline-flex;align-items:center;margin-right:8px;&:hover{background-color:',
        Object(B.f)('buttonBackgroundColorHover'),
        ';}&:active{background-color:',
        Object(B.f)('buttonBackgroundColorActive'),
        ';}span{padding-left:10px;white-space:nowrap;font-weight:600;}svg{width:16px;height:12px;path{fill:',
        Object(B.f)('buttonTextColor'),
        ';}}',
        ({ theme: e }) =>
          e.isPrimaryColorLight && Object(B.b)('border:1px solid ', e.lightGrey2, ';'),
        ' ',
        ({ isSecondaryVariant: e, theme: t }) =>
          e &&
          !t.isPrimaryColorLight &&
          Object(B.b)(
            'background-color:',
            t.white,
            ';color:',
            t.buttonBackgroundColor,
            ';border:1px solid ',
            t.buttonBackgroundColor,
            ';transition:color background-color 0.3s;svg{path{fill:',
            t.buttonBackgroundColor,
            ';}}&:hover{background-color:',
            t.white,
            ';color:',
            t.buttonBackgroundColorHover,
            ';border:1px solid ',
            t.buttonBackgroundColorHover,
            ';svg{path{fill:',
            t.buttonBackgroundColorHover,
            ';}}}&:active{background-color:',
            t.white,
            ';color:',
            t.buttonBackgroundColorActive,
            ';border:1px solid ',
            t.buttonBackgroundColorActive,
            ';svg{path{fill:',
            t.buttonBackgroundColorActive,
            ';}}}'
          )
      );
      function Ca(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class new_message_button_NewMessageButton extends r.PureComponent {
        constructor(...e) {
          super(...e),
            Ca(this, 'handleNewMessageClick', () => {
              this.addNewConversationMetric(), this.props.onClick();
            }),
            Ca(this, 'addNewConversationMetric', () => {
              Object(T.e)(
                'clicked',
                'new_conversation',
                'messenger',
                this.props.metricsContext,
                {},
                'm4_metric'
              );
            });
        }
        render() {
          const e = 'secondary' === this.props.variant;
          return a.a.createElement(
            Oa,
            { onClick: this.handleNewMessageClick, isSecondaryVariant: e },
            a.a.createElement(ja.a, null),
            a.a.createElement('span', null, Object(g.e)('send_us_a_message'))
          );
        }
      }
      function wa() {
        return (wa =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function Ea(e) {
        const t = Object(i.useSelector)(j.p),
          n = Object(i.useSelector)(j.f),
          r = Object(i.useDispatch)(),
          o = Object(i.useSelector)(je.d),
          s = () => {
            r(Object(X.j)('', e.replaceCurrentView, null == o ? void 0 : o.url));
          };
        return t
          ? a.a.createElement(
              new_message_button_NewMessageButton,
              wa({ onClick: s, metricsContext: n }, e)
            )
          : a.a.createElement(
              new_conversation_button_NewConversationButton,
              wa({ onClick: s, metricsContext: n }, e)
            );
      }
      Ca(new_message_button_NewMessageButton, 'defaultProps', { variant: 'default' }),
        Ca(new_message_button_NewMessageButton, 'contextType', c.a);
      const ka = Object(B.c)('div', { target: 'eb4lzvm0' })({
          name: 'ty16o5',
          styles: 'height:48px;border-top:1px solid #d8d8d8;position:relative;',
        }),
        Sa = Object(B.c)('div', { target: 'eb4lzvm1' })({
          name: '1gp5mwl',
          styles: 'padding:15px 30px 15px 24px;font-size:14px;',
        });
      var _a = n(505),
        Pa = n(237);
      var Ta = Object(f.createSelector)(
        be.b,
        Pa.a,
        (e, { recentConversations: t }) => e - t.slice(0, 3).filter((e) => Object(be.a)(e)).length
      );
      function Ba() {
        const e = Object(i.useDispatch)(),
          t = () => e(Object(X.i)()),
          n = Object(i.useSelector)(Ta) > 0;
        return a.a.createElement(
          ka,
          null,
          a.a.createElement(
            Sa,
            null,
            n ? a.a.createElement(_a.j, null) : null,
            a.a.createElement(
              'a',
              {
                className: 'view-all-conversations',
                onClick: t,
                onKeyDown: (e) => (13 === e.keyCode || 32 === e.keyCode) && t(),
                role: 'button',
                tabIndex: '0',
              },
              Object(g.e)('see_all_conversations')
            )
          )
        );
      }
      var Na = n(547);
      const Aa = Object(B.c)('div', { target: 'e1jholmx0' })({
          name: 'tsg21r',
          styles: 'height:159px;',
        }),
        Ma = Object(B.c)('div', { target: 'e1jholmx1' })(
          'max-width:100%;margin-bottom:17px;background-color:',
          Object(B.f)('white'),
          ';border-radius:3px;font-size:14px;line-height:1.4;color:',
          Object(B.f)('bodyText'),
          ';overflow:hidden;position:relative;',
          ee.c
        ),
        Ia = Object(B.c)('div', { target: 'e1jholmx2' })(
          'height:',
          Object(B.e)('height'),
          'px;transition:height 250ms;'
        ),
        za = Object(B.c)('div', { target: 'e1jholmx3' })('color:', Object(B.f)('metaText'), ';');
      var La = { name: '1imlk2a', styles: 'padding-bottom:0;' };
      const Ra = Object(B.c)('div', { target: 'e1fyju1n0' })(
        'padding:26px 24px 16px;& ',
        _a.h.className,
        ':last-child:after{border-bottom:none;}',
        ({ showAllConversationsLink: e }) => e && La
      );
      var Fa = { name: 'we6s3m', styles: 'padding:26px 24px 20px;' };
      const Da = Object(B.c)('div', { target: 'e1fyju1n1' })(
          'padding:26px 24px 24px 24px;line-height:1.5;',
          ({ allowAllConversationsLink: e }) => e && Fa
        ),
        Ha = Object(B.c)('div', { target: 'e1fyju1n2' })({
          name: 'vmab6f',
          styles: 'margin-bottom:4px;h2{font-weight:600;}',
        }),
        Wa = Object(B.c)('div', { target: 'e1fyju1n3' })(
          'display:flex;align-items:center;margin-top:12px;',
          ga.className,
          '{margin-right:8px;}a{white-space:nowrap;}'
        ),
        qa = Object(B.c)('div', { target: 'e1fyju1n4' })({
          name: '1yuhvjn',
          styles: 'margin-top:16px;',
        }),
        Ua = Object(B.c)('div', { target: 'e1fyju1n5' })(
          'margin-top:18px;color:',
          Object(B.f)('grey'),
          ';display:flex;justify-content:center;align-items:center;'
        );
      function Va({ secondaryVariant: e }) {
        const [t, n] = Object(r.useState)(null),
          o = Object(i.useSelector)(ua.d),
          s = Object(i.useSelector)(ua.a),
          l = e && s ? 'start_another_conversation' : 'start_a_conversation';
        return a.a.createElement(
          Ma,
          { className: 'intercom-home-screen-messenger-card' },
          a.a.createElement(
            Ia,
            { height: t },
            a.a.createElement(
              ha.a,
              { onHeightChange: n },
              a.a.createElement(
                Na.a,
                null,
                a.a.createElement(
                  Da,
                  {
                    className: 'intercom-home-screen-start-conversation-card-new',
                    allowAllConversationsLink: o,
                  },
                  a.a.createElement(
                    Ha,
                    null,
                    a.a.createElement(ba.a, {
                      style: 'header',
                      bottomMargin: 'none',
                      text: Object(g.e)(l),
                    })
                  ),
                  a.a.createElement(
                    Wa,
                    null,
                    a.a.createElement(on, {
                      showTooltip: !0,
                      avatarSize: e ? 36 : 56,
                      avatarPixelsToShow: e ? 6 : 16,
                      maxAdmins: 3,
                    }),
                    a.a.createElement(Xt, null)
                  ),
                  a.a.createElement(
                    qa,
                    null,
                    a.a.createElement(Ea, { variant: e ? 'secondary' : 'default' })
                  )
                )
              )
            )
          ),
          o && a.a.createElement(Ba, null)
        );
      }
      function Ga({ variant: e }) {
        return a.a.createElement(
          va,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 15 16', 'variant': e },
          a.a.createElement('path', {
            d: 'M7.32625 0C11.2345 0 14.4025 3.168 14.4025 7.07625C14.4025 14.1525 7.333 16.875 7.333 16.875V14.1525H7.32625C3.418 14.1525 0.25 10.9845 0.25 7.07625C0.25 3.168 3.418 0 7.32625 0ZM7.97875 10.2409C7.97875 9.88087 7.68625 9.59062 7.3285 9.59062C6.9685 9.59062 6.67825 9.88312 6.67825 10.2409C6.67825 10.6009 6.97075 10.8911 7.3285 10.8911C7.6885 10.8911 7.97875 10.6009 7.97875 10.242V10.2409ZM7.3285 3.81713C6.19225 3.81713 5.2585 4.69463 5.16288 5.80838L6.2395 5.96025C6.25637 5.37525 6.73787 4.90275 7.3285 4.90275C7.92925 4.90275 8.41975 5.391 8.41975 5.99175C8.41975 7.07625 6.89538 7.07625 6.89538 8.59275V8.71425H7.76163V8.59275C7.76163 7.7265 9.502 7.50938 9.502 5.99175C9.502 4.79363 8.52775 3.81825 7.3285 3.81825V3.81713Z',
          })
        );
      }
      function $a({ secondaryVariant: e }) {
        const [t, n] = Object(r.useState)(null),
          o = Object(i.useSelector)(ua.d);
        return a.a.createElement(
          Ma,
          { className: 'intercom-home-screen-messenger-card' },
          a.a.createElement(
            Ia,
            { height: t },
            a.a.createElement(
              ha.a,
              { onHeightChange: n },
              a.a.createElement(
                Na.a,
                null,
                a.a.createElement(
                  Da,
                  { className: 'intercom-home-screen-start-conversation-card-new' },
                  a.a.createElement(
                    Ha,
                    null,
                    a.a.createElement(ba.a, {
                      style: 'header',
                      bottomMargin: 'none',
                      text: Object(g.e)('get_an_instant_answer'),
                    })
                  ),
                  a.a.createElement(
                    Wa,
                    null,
                    a.a.createElement(za, null, Object(g.e)('bot_expectation_text'))
                  ),
                  a.a.createElement(
                    qa,
                    null,
                    a.a.createElement(Ea, {
                      contentId: 'ask_a_question',
                      IconComponent: Ga,
                      variant: e ? 'secondary' : 'default',
                    })
                  )
                )
              )
            )
          ),
          o && a.a.createElement(Ba, null)
        );
      }
      var Xa = n(30),
        Ya = n(224),
        Ka = n(467),
        Za = n(692),
        Ja = n(41),
        Qa = n(827),
        eo = n.n(Qa),
        to = n(104);
      function no(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_summary_ConversationSummary extends r.Component {
        constructor(...e) {
          super(...e),
            no(this, 'node', null),
            no(this, 'handleClick', (e) => {
              e.preventDefault();
              const {
                onClick: t,
                conversation: { id: n },
              } = this.props;
              t(n);
            });
        }
        componentDidMount() {
          this.node && 0 === this.props.rowIndex && this.node.focus();
        }
        getConversationParts() {
          return this.props.conversation.parts.filter((e) => !1 === Object(to.a)(e.partType));
        }
        getFirstConversationPart() {
          const { parts: e } = this.props.conversation;
          return e[0];
        }
        getAuthorName(e) {
          return e ? e.firstName : this.getTeamName();
        }
        getTeamName() {
          const e = this.getFirstConversationPart();
          return 'team' === e.author.type ? e.author.firstName : this.props.appName;
        }
        getTeamAdmins() {
          const e = this.getFirstConversationPart();
          return 'team' === e.author.type ? e.author.admins : this.props.appAdmins;
        }
        shouldComponentUpdate(e, t) {
          return eo()(this, e, t);
        }
        shouldRenderParticipants() {
          return this.props.conversation.participants.length > 0 && 'en' === Object(g.a)();
        }
        renderParticipantsAndAuthor(e) {
          const t = this.props.conversation.participants.length;
          return t > 1
            ? Object(g.e)('name_and_x_others', { name: e, count: t })
            : Object(g.e)('name_and_1_other', { name: e });
        }
        getAuthorNameForPrefix(e, t) {
          const n = !e.isBot,
            r = e.isAdmin && n,
            a = 'user' === e.type && e.id === this.props.userId;
          if (!r || t) return (n && !t) || (a && t) ? Object(g.e)('you') : e.firstName;
        }
        renderSummaryContentAuthorPrefix(e) {
          const t = this.props.conversation.participants.length > 0,
            n = this.getAuthorNameForPrefix(e, t);
          return n ? a.a.createElement(_a.d, null, `${n}: `) : null;
        }
        renderSummaryContent(e) {
          const t = this.getConversationParts(),
            { author: n, summaryText: r, isMetadata: o } = Object(Ja.e)(t);
          return a.a.createElement(
            _a.e,
            { isUnread: !e },
            this.renderSummaryContentAuthorPrefix(n),
            a.a.createElement(_a.f, { text: r, tagName: 'div', isSingleBlock: o })
          );
        }
        render() {
          const { isCompact: e } = this.props,
            {
              lastPartCreatedAt: t,
              lastParticipatingAdmin: n,
              currentChannel: r,
              read: o,
            } = this.props.conversation,
            i = this.getAuthorName(n),
            s = this.getTeamAdmins(),
            l = o || 'whatsapp' === r;
          return a.a.createElement(
            _a.h,
            {
              className: 'intercom-conversation-summary',
              isCompact: e,
              onClick: this.handleClick,
              isUnread: !l,
              ref: (e) => (this.node = e),
            },
            l ? null : a.a.createElement(_a.j, null),
            a.a.createElement(
              _a.a,
              { isCompact: e },
              n
                ? a.a.createElement(Kt.a, { size: 36, admin: n })
                : a.a.createElement(Za.a, { admins: s })
            ),
            a.a.createElement(
              _a.b,
              null,
              a.a.createElement(
                _a.g,
                { isCompact: e, isUnread: !l },
                a.a.createElement(
                  'span',
                  null,
                  this.shouldRenderParticipants() ? this.renderParticipantsAndAuthor(i) : i
                ),
                a.a.createElement(_a.i, null, t ? `• ${Object(Nn.f)(t)}` : null)
              ),
              this.renderSummaryContent(l)
            ),
            a.a.createElement(_a.c, null, a.a.createElement(Be, null))
          );
        }
      }
      function ro(e, t) {
        var n = Object.keys(e);
        if (Object.getOwnPropertySymbols) {
          var r = Object.getOwnPropertySymbols(e);
          t &&
            (r = r.filter(function (t) {
              return Object.getOwnPropertyDescriptor(e, t).enumerable;
            })),
            n.push.apply(n, r);
        }
        return n;
      }
      function ao(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      function oo(e) {
        const t = (function (e) {
          for (var t = 1; t < arguments.length; t++) {
            var n = null != arguments[t] ? arguments[t] : {};
            t % 2
              ? ro(Object(n), !0).forEach(function (t) {
                  ao(e, t, n[t]);
                })
              : Object.getOwnPropertyDescriptors
              ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n))
              : ro(Object(n)).forEach(function (t) {
                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                });
          }
          return e;
        })(
          {
            appName: Object(i.useSelector)((e) => e.app.name),
            appAdmins: Object(i.useSelector)((e) => e.app.activeAdmins),
            userId: Object(i.useSelector)((e) => e.user.id),
          },
          e
        );
        return a.a.createElement(conversation_summary_ConversationSummary, t);
      }
      const io = Object(B.c)('div', { target: 'e1yjqpel0' })({
        name: '1ac03ny',
        styles: 'height:40px;position:relative;',
      });
      function so({ conversations: e, onClickConversation: t, hasMoreConversations: n }) {
        const [o, i] = Object(r.useState)(null);
        return a.a.createElement(
          Ma,
          { className: 'intercom-home-screen-messenger-card' },
          a.a.createElement(
            Ia,
            { height: o },
            a.a.createElement(
              Ka.b,
              { onHeightChange: i },
              a.a.createElement(
                'div',
                null,
                a.a.createElement(
                  Ra,
                  { showAllConversationsLink: n },
                  a.a.createElement(
                    Ha,
                    null,
                    a.a.createElement(ba.a, {
                      style: 'header',
                      bottomMargin: 'none',
                      text: Object(g.e)('continue_the_conversation'),
                    })
                  ),
                  a.a.createElement(
                    'div',
                    null,
                    e.map((e) =>
                      a.a.createElement(lo, { conversation: e, onClickConversation: t, key: e.id })
                    )
                  )
                ),
                n && a.a.createElement(Ba, null)
              )
            )
          )
        );
      }
      function lo({ conversation: e, onClickConversation: t }) {
        var n;
        return 'saving' === (null === (n = e.parts) || void 0 === n ? void 0 : n[0].saveState)
          ? a.a.createElement(io, null, a.a.createElement(Qr.a, null))
          : a.a.createElement(oo, { conversation: e, isCompact: !0, onClick: t });
      }
      var co = n(48);
      function po() {
        const e = Object(i.useSelector)(Ya.a).slice(0, 3),
          t = Object(i.useSelector)(Xa.a);
        let n = Object(i.useSelector)((e) => e.homeScreen.hasMoreConversations);
        e.length < t.length && (n = !0);
        const r = Object(i.useDispatch)();
        return a.a.createElement(so, {
          onClickConversation: (e) => {
            Object(T.e)('clicked', 'conversation', 'messenger', 'home-screen', {}),
              r(Object(co.a)(e)),
              r(Object(Nt.l)(rt.b, e));
          },
          conversations: e,
          hasMoreConversations: n,
        });
      }
      const uo = Object(B.c)('div', { target: 'e1wft6o20' })(
        'height:80px;display:flex;flex-direction:row;padding-left:24px;padding-right:24px;align-items:center;justify-content:space-between;cursor:pointer;h2{margin-bottom:0;}',
        ({ theme: e }) =>
          Object(B.b)(
            '&:hover{background-color:',
            e.itemHover,
            ';}svg{path{stroke:',
            e.isPrimaryColorLight ? e.black : e.buttonBackgroundColor,
            ';}}'
          )
      );
      var mo = n(548);
      function ho() {
        const e = Object(i.useDispatch)(),
          t = () => e(Object(X.i)()),
          n = Object(i.useSelector)(Ta) > 0;
        return a.a.createElement(
          'div',
          {
            onClick: t,
            onKeyDown: (e) => (13 === e.keyCode || 32 === e.keyCode) && t(),
            role: 'button',
            tabIndex: '0',
          },
          a.a.createElement(
            Ma,
            { className: 'intercom-home-screen-messenger-card' },
            a.a.createElement(
              uo,
              null,
              a.a.createElement(
                'div',
                null,
                n ? a.a.createElement(_a.j, null) : null,
                a.a.createElement(ba.a, {
                  bottomMargin: 'none',
                  text: Object(g.e)('see_previous_conversations'),
                })
              ),
              a.a.createElement(mo.a, null)
            )
          )
        );
      }
      const bo = Object(B.c)('button', { target: 'e1b06osd0' })(
        ({ theme: e }) =>
          Object(B.b)(
            'border:1px solid ',
            e.isPrimaryColorLight ? 'rgb(210, 215, 219)' : e.buttonBackgroundColor,
            ';'
          ),
        ' border-radius:20px;height:40px;width:100%;display:flex;justify-content:left;align-items:center;color:',
        Object(B.f)('inputPlaceholder'),
        ';transition:all 0.3s ease-out;cursor:text;padding:0 24px;box-sizing:border-box;*{cursor:text;}&:hover{box-shadow:inset 0px 4px 6px rgba(0,0,0,0.08);}svg{margin-top:-1.5px;margin-right:8px;position:relative;fill:none;path{fill:',
        Object(B.f)('grey'),
        ';}circle{stroke:',
        Object(B.f)('grey'),
        ';}}'
      );
      var go = () =>
        a.a.createElement(
          'svg',
          {
            width: '16',
            height: '16',
            viewBox: '0 0 16 16',
            fill: 'none',
            xmlns: 'http://www.w3.org/2000/svg',
          },
          a.a.createElement('circle', {
            cx: '7.5',
            cy: '7.5',
            r: '4.625',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          }),
          a.a.createElement('path', {
            d: 'M13.3813 14.6187C13.723 14.9604 14.277 14.9604 14.6187 14.6187C14.9604 14.277 14.9604 13.723 14.6187 13.3813L13.3813 14.6187ZM10.3813 11.6187L13.3813 14.6187L14.6187 13.3813L11.6187 10.3813L10.3813 11.6187Z',
            fill: '#8F8F91',
          })
        );
      function fo({ onClick: e }) {
        return a.a.createElement(
          bo,
          { onClick: e },
          a.a.createElement(go, null),
          ' ',
          Object(g.e)('article_search_hint_text')
        );
      }
      const vo = Object(B.d)('0%{opacity:0;}100%{opacity:1;}'),
        xo = Object(B.d)('0%{opacity:1;}100%{opacity:0;}'),
        yo = Object(B.c)('div', { target: 'eg87d390' })({
          name: 'vv6u9w',
          styles:
            'display:flex;flex-direction:row;align-items:flex-start;max-height:100%;box-sizing:border-box;padding:24px 8px;',
        }),
        jo = Object(B.c)('div', { target: 'eg87d391' })({
          name: '6lkplg',
          styles:
            'position:relative;top:-12px;width:51px;height:51px;margin-bottom:-5px;margin-right:2px;&,*{cursor:pointer;}',
        }),
        Oo = Object(B.c)('div', { target: 'eg87d392' })(
          'width:51px;height:51px;padding:8px;margin:0 auto;box-sizing:border-box;border-radius:',
          Object(B.f)('messengerBorderRadiusPx'),
          'px;margin-left:-2.5px;display:flex;align-items:center;transform:translateZ(0);&:hover{background-color:',
          Object(B.f)('backgroundHover'),
          ';}',
          ({ theme: e }) =>
            Object(B.b)(
              Te.className,
              '{> g > g{fill:',
              e.isPrimaryColorLight ? e.black : e.primaryColor,
              ';}}'
            ),
          ' ',
          Re.className,
          '{width:20px;height:20px;line-height:20px;box-shadow:none;font-size:11px;font-weight:600;}'
        ),
        Co = Object(B.c)('div', { target: 'eg87d393' })({ name: '8atqhb', styles: 'width:100%;' }),
        wo = Object(B.c)('div', { target: 'eg87d394' })(
          'position:relative;display:flex;flex-direction:row;margin-top:-12.5px;height:51px;background-color:',
          Object(B.f)('white'),
          ';border-radius:4px;flex-grow:1;padding:0px 8px;align-items:center;margin-left:-2px;animation-name:',
          vo,
          ';animation-duration:100ms;animation-timing-function:ease-in-out;animation-delay:0ms;animation-fill-mode:both;input{height:50px;}svg{position:relative;margin-right:8px;fill:none;margin-top:-2px;flex-shrink:0;path{fill:#8f8f91;}circle{stroke:#8f8f91;}}'
        ),
        Eo = Object(B.c)('div', { target: 'eg87d395' })(
          'min-width:51px;height:51px;box-sizing:border-box;padding:8px;display:flex;justify-content:center;flex-direction:column;align-items:center;cursor:pointer;> svg{width:12;height:12;}> svg > path{fill:#8F8F91;}',
          ({ theme: e }) =>
            e.isMobileSize &&
            Object(B.b)(
              '> svg > path{fill:',
              e.isPrimaryColorLight ? e.black : e.primaryColor,
              ';}'
            ),
          ' border-radius:',
          Object(B.f)('messengerBorderRadiusPx'),
          'px;&:hover{> svg > path{fill:',
          Object(B.f)('grey'),
          ';}}'
        ),
        ko = Object(B.c)('div', { target: 'eg87d396' })({
          name: '1lqobtf',
          styles:
            'display:flex;position:relative;align-items:center;justify-content:center;padding:8px;min-width:35px;min-height:35px;margin-top:-13px;',
        }),
        So = Object(B.c)('div', { target: 'eg87d397' })({
          name: '1twxly0',
          styles:
            'position:absolute;&.fade-enter{opacity:0;}&.fade-exit{opacity:1;}&.fade-enter-active{opacity:1;}&.fade-exit-active{opacity:0;}&.fade-enter-active,&.fade-exit-active{transition:opacity 100ms;}',
        }),
        _o = Object(B.c)('div', { target: 'eg87d398' })(
          'color:',
          Object(B.f)('grey'),
          ';font-size:14px;padding:0 18px;border-right:1px solid #d9d9d9;height:18px;'
        ),
        Po = Object(B.c)('div', { target: 'eg87d399' })({
          name: '1ilpvh9',
          styles: 'font-size:14px;margin-top:4px;height:22px;',
        }),
        To = Object(B.c)('div', { target: 'eg87d3910' })({
          name: '1lqobtf',
          styles:
            'display:flex;position:relative;align-items:center;justify-content:center;padding:8px;min-width:35px;min-height:35px;margin-top:-13px;',
        }),
        Bo = Object(B.c)('div', { target: 'eg87d3911' })({
          name: '1kvzm88',
          styles:
            'display:flex;position:relative;align-items:center;justify-content:center;margin-top:13px;width:100%;',
        }),
        No = Object(B.c)('input', { target: 'eg87d3912' })(
          'color:',
          Object(B.f)('black'),
          ';max-width:220px;flex-grow:1;font-size:14px;&::placeholder{color:',
          Object(B.f)('inputPlaceholder'),
          ';font-style:',
          Object(B.f)('fontSansSerif'),
          ';}'
        ),
        Ao = Object(B.c)('div', { target: 'eg87d3913' })(
          'height:75px;overflow-y:hidden;&.intercom-messenger-header-view-enter{',
          wo.className,
          ',',
          _o.className,
          ',',
          Eo.className,
          '{animation-name:',
          vo,
          ';animation-duration:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '150ms',
          ';animation-fill-mode:both;}}&.intercom-messenger-header-view-exit{',
          wo.className,
          ',',
          _o.className,
          ',',
          Eo.className,
          '{animation-name:',
          xo,
          ';animation-duration:',
          '150ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;}}'
        ),
        Mo = Object(B.c)('div', { target: 'e1r9qsu40' })(
          'background-color:',
          Object(B.f)('white'),
          ';position:fixed;bottom:0;left:0;right:0;top:0;display:flex;flex-direction:column;.intercom-search-browse-fade{&-enter{opacity:0;}&-enter-active{opacity:1;transition:opacity 100ms ease-in-out;}&-exit{opacity:1;}&-exit-active{opacity:0;transition:opacity 100ms ease-in-out;}}.intercom-search-browse-article-collection-fade{&-enter{opacity:0;}&-enter-active{opacity:1;transition:opacity 100ms ease-in-out;}&-exit{opacity:1;}&-exit-active{opacity:0;transition:100ms ease-in-out;}}.intercom-search-browse-slide-left-out{&-exit{transform:translateX(0);opacity:1;}&-exit-active{transform:translateX(-12px);opacity:0;transition:100ms ease-in-out;}}.intercom-search-browse-slide-left{&-enter{transform:translateX(-20px);opacity:0;}&-enter-active{transform:translateX(0);opacity:1;transition:300ms ease-in-out;}&-exit{transform:translateX(0);opacity:1;}&-exit-active{transform:translateX(-20px);opacity:0;transition:300ms ease-in-out;}}.intercom-search-browse-slide-right{&-enter{transform:translateX(20px);opacity:0;}&-enter-active{transform:translateX(0);opacity:1;transition:300ms ease-in-out;}&-exit{transform:translateX(0);opacity:1;}&-exit-active{transform:translateX(20px);opacity:0;transition:300ms ease-in-out;}}.intercom-search-browse-article-collection-in{&-enter,&-appear{transform:translateX(12px);opacity:0;}&-enter-active,&-appear-active{transform:translateX(0);opacity:1;transition:100ms ease-in-out;}&-exit{transform:translateX(0);opacity:1;}&-exit-active{transform:translateX(12px);opacity:0;transition:100ms ease-in-out;}}.intercom-search-browse-article-collection-fade-in{&-enter,&-appear{opacity:0;}&-enter-active,&-appear-active{opacity:1;transition:25ms ease-in-out;}}',
          ga.className,
          '{color:',
          Object(B.f)('black'),
          ';background-color:',
          Object(B.f)('white'),
          ';border:1px solid ',
          Object(B.f)('lightGrey10'),
          ';transition:color 0.15s ease 0s,background-color 0.15s ease 0s,border 0.15s ease 0s;span{font-weight:400;}',
          ({ theme: e }) => {
            const t = e.isPrimaryColorLight ? e.appColorDarker : e.primaryColor;
            return Object(B.b)(
              va.className,
              '{path{fill:',
              t,
              ';}}&:hover,&:active{color:',
              t,
              ';border:1px solid ',
              t,
              ';background-color:',
              e.white,
              ';',
              va.className,
              '{path{fill:',
              t,
              ';}}}'
            );
          },
          '}'
        ),
        Io =
          (Object(B.c)('div', { target: 'e1r9qsu41' })(
            'display:flex;',
            jo.className,
            '{top:12px;padding-left:8px;}',
            Ao.className,
            '{width:100%;}',
            yo.className,
            '{padding:24px 8px 24px 0px;}'
          ),
          `\n  &,\n  ${Mo.className},\n  ${wo.className},\n  ${Ia.className},\n  ${bo.className}`),
        zo = Object(B.c)(Ma, { target: 'eysgywt0' })(
          'transition:all 0.3s ease-out;',
          Mo.className,
          '{position:absolute;top:',
          40,
          'px;bottom:',
          40,
          'px;width:100%;opacity:0;}&.enter,&.enter-active,&.enter-done,&.exit,&.exit-active,&.exit-done{z-index:',
          Object(ee.m)(),
          ';}&.enter.enter-active,&.enter-done,&.exit{position:fixed;top:-',
          40,
          'px;bottom:-',
          40,
          'px;left:0;right:0;height:calc(100% + 80px);width:100%;',
          Mo.className,
          '{transition:opacity 0.3s ease-out;opacity:1;}',
          wo.className,
          '{opacity:1;transition:opacity 0.15s ease-out 0.15s;}',
          Ia.className,
          '{opacity:0;transition:opacity 0.3s ease-out;pointer-events:none;transform:scale(1);}',
          bo.className,
          '{width:85%;margin-left:6%;transition:all 0.3s ease-out,opacity 0.15s ease-out 0.15s;opacity:0;}}',
          ({ skipOpenAnimation: e }) =>
            e &&
            Object(B.b)(
              '&,&.enter,&.enter-active,&.enter-done{',
              Io,
              '{transition-duration:0ms;transition-delay:0ms;}',
              Ia.className,
              '{opacity:0;visibility:hidden;}}&.exit-done{',
              Ia.className,
              '{visibility:visible;}}'
            ),
          ' ',
          ({ transitioningToNewConversation: e, transitionStartTop: t, width: n, height: r }) =>
            e
              ? Object(B.b)(
                  '&.exit-active{transition:all 0.2s;opacity:0;transform:translateY(24px);',
                  Ia.className,
                  '{visibility:hidden;}}&.exit-done{opacity:0;}'
                )
              : Object(B.b)(
                  '&.enter,&.exit-active{position:fixed;top:',
                  t,
                  'px;width:',
                  n,
                  'px;height:',
                  r,
                  'px;left:16px;right:16px;',
                  Mo.className,
                  '{opacity:0;}',
                  wo.className,
                  '{opacity:0;transition:opacity 0.1s ease-out 0.1s;}',
                  Ia.className,
                  '{opacity:1;transform:scale(1);}',
                  bo.className,
                  '{width:100%;margin-left:0;opacity:1;transition:all 0.3s ease-out;}}'
                ),
          ' &.exit-done{position:static;}'
        );
      var Lo = n(160),
        Ro = n(502);
      const Fo = Object(B.c)('div', { target: 'epjmvj60' })({
          name: 'u34mrd',
          styles:
            'display:flex;flex-direction:column;min-height:100%;padding:12px 24px;box-sizing:border-box;',
        }),
        Do = Object(B.c)('section', { target: 'epjmvj61' })(
          'flex:1;position:relative;overflow:hidden;display:flex;flex-direction:column;',
          Ka.a.className,
          '{flex:1;display:flex;flex-direction:column;}',
          (e) =>
            e.searchView &&
            `\n    ${Ro.b.className} {\n      height: 36px;\n      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);\n    }`
        );
      Object(B.c)('div', { target: 'epjmvj62' })(
        'z-index:',
        Object(ee.m)(),
        ';position:relative;width:40px;height:40px;&,*{cursor:pointer;}'
      ),
        Object(B.c)('div', { target: 'epjmvj63' })(
          'width:40px;height:40px;padding:8px;margin:0 auto;box-sizing:border-box;border-radius:',
          Object(B.f)('messengerBorderRadiusPx'),
          'px;display:flex;align-items:center;transform:translateZ(0);&:hover{background-color:',
          Object(B.f)('lightGrey4'),
          ';}svg{> g > g{fill:',
          Object(B.f)('darkGrey'),
          ';}}'
        ),
        Object(B.c)('input', { target: 'epjmvj64' })(
          'padding-left:8px;padding-right:8px;color:#212121;width:100%;font-size:15px;&::placeholder{color:',
          Object(B.f)('grey'),
          ';font-style:',
          Object(B.f)('fontSansSerif'),
          ';opacity:0.7;}'
        );
      var Ho = { name: 'ib1qy9', styles: 'padding-top:15px;flex-grow:unset;align-items:top;' };
      const Wo = Object(B.c)('div', { target: 'epjmvj65' })(
          'display:flex;flex-grow:1;align-items:center;justify-content:center;',
          ({ theme: e }) => e.isMobile && Ho
        ),
        qo = Object(B.c)('div', { target: 'epjmvj66' })(
          'color:',
          Object(B.f)('grey'),
          ';text-align:center;font-size:14px;line-height:21px;position:relative;align-items:center;width:100%;'
        );
      var Uo = { name: '12zhy43', styles: 'flex-grow:unset;' };
      const Vo = Object(B.c)('div', { target: 'epjmvj67' })(
          'display:flex;flex-direction:column;flex:1;&:last-of-type{margin-bottom:0;}',
          ({ theme: e }) => e.isMobile && Uo
        ),
        Go = Object(B.c)('div', { target: 'epjmvj68' })({
          name: '1tj6k1e',
          styles:
            'font-weight:600;font-size:14px;line-height:21px;color:#000;margin:12px 0;position:relative;',
        }),
        $o = Object(B.c)('div', { target: 'epjmvj69' })(
          'font-size:14px;font-weight:600;line-height:21px;color:',
          Object(B.f)('grey'),
          ';margin-top:24px;position:relative;padding:12px 0px;'
        ),
        Xo = Object(B.c)('ul', { target: 'epjmvj610' })({
          name: '1c2ffv',
          styles: 'list-style-type:none;padding:0;margin:0;',
        }),
        Yo = Object(B.c)('div', { target: 'epjmvj611' })(
          'overflow:hidden;text-overflow:ellipsis;highlight{color:',
          Object(B.f)('buttonBackgroundColor'),
          ';}'
        ),
        Ko = Object(B.c)('div', { target: 'epjmvj612' })(
          'white-space:nowrap;overflow:hidden;text-overflow:ellipsis;highlight{color:',
          Object(B.f)('buttonBackgroundColor'),
          ';}'
        ),
        Zo = Object(B.c)('div', { target: 'epjmvj613' })({
          name: '8xl60i',
          styles: 'margin-top:auto;',
        });
      var Jo = {
        name: '111jduh',
        styles:
          'padding:24px 0 12px;box-sizing:border-box;border-top-width:1px;border-top-style:solid;margin-left:-24px;margin-right:-24px;width:auto;',
      };
      const Qo = Object(B.c)('div', { target: 'epjmvj614' })(
          'display:flex;flex-direction:column;margin-top:12px;align-items:center;width:100%;border-color:',
          Object(B.f)('lightGrey10'),
          ';',
          ({ withBorderTop: e }) => e && Jo,
          ';'
        ),
        ei = Object(B.c)('div', { target: 'epjmvj615' })(
          'display:flex;align-items:center;a{white-space:nowrap;}color:',
          Object(B.f)('grey'),
          ';text-align:center;font-size:14px;line-height:22px;margin-bottom:14px;'
        ),
        ti = Object(B.c)('div', { target: 'epjmvj616' })({
          name: '6gpkta',
          styles: 'min-height:100%;',
        }),
        ni = Object(B.c)('div', { target: 'epjmvj617' })({
          name: 'o44is',
          styles: 'display:flex;flex-direction:column;min-height:100%;',
        }),
        ri = Object(B.c)('div', { target: 'epjmvj618' })(
          'display:flex;flex-direction:column;align-items:center;',
          Qt.className,
          '{margin-right:10px;}'
        ),
        ai = Object(B.c)('div', { target: 'epjmvj619' })({
          name: 'dvxtzn',
          styles: 'display:flex;flex-direction:column;align-items:center;',
        });
      Object(B.c)('div', { target: 'epjmvj620' })({ name: 'wmz062', styles: 'margin-top:14px;' });
      var oi = n(23);
      function ii({ inArticle: e = !1 }) {
        const t = Object(i.useSelector)(Mt.e),
          n = Object(i.useSelector)(je.d);
        return a.a.createElement(
          ri,
          null,
          a.a.createElement(
            ei,
            null,
            a.a.createElement(on, {
              showTooltip: !0,
              avatarSize: 24,
              avatarPixelsToShow: 12,
              maxAdmins: 3,
              useAppColorForAvatarBorder: !1,
            }),
            Object(g.e)('the_team_can_help_if_needed')
          ),
          a.a.createElement(Ea, {
            variant: 'secondary',
            metricsContext: e ? oi.b : oi.a,
            metadata: e ? { article_id: null == n ? void 0 : n.id } : { phrase: t },
          })
        );
      }
      function si() {
        return a.a.createElement(
          ai,
          null,
          a.a.createElement(ei, null, Object(g.e)('bot_expectation_text')),
          a.a.createElement(Ea, {
            contentId: 'ask_a_question',
            IconComponent: Ga,
            variant: 'secondary',
          })
        );
      }
      function li({ inArticle: e = !1, withBorderTop: t = !1, onlyShowAfterArticleView: n = !1 }) {
        const r = Object(i.useSelector)(j.a),
          o = Object(i.useSelector)(Mt.a);
        return n && !o
          ? null
          : a.a.createElement(
              Zo,
              null,
              a.a.createElement(
                Qo,
                { withBorderTop: t },
                r ? a.a.createElement(ii, { inArticle: e }) : a.a.createElement(si, null)
              )
            );
      }
      var ci = n(133);
      function di({ html: e }) {
        const t = e.split(/\<\/?highlight\>/);
        return a.a.createElement(a.a.Fragment, null, t.map(pi));
      }
      function pi(e, t) {
        return t % 2
          ? a.a.createElement(ui, { key: t }, e)
          : a.a.createElement('span', { key: t }, e);
      }
      const ui = Object(B.c)('span', { target: 'e1elqfww0' })(
        'color:',
        Object(B.f)('black'),
        ';font-weight:600;'
      );
      var mi = n(17);
      function hi(e) {
        if (!e) return '';
        const t = e.indexOf('<highlight>'),
          { innerWidth: n } = Object(mi.c)();
        let r;
        return (
          (r = n > 400 ? 30 : n / 40),
          t < r
            ? e
            : (function (e, t) {
                const n = e.substring(t);
                return '...' + n.substring(n.indexOf(' '));
              })(e, t - r)
        );
      }
      function bi(e) {
        const [t, n] = Object(r.useState)(hi(e.text));
        return (
          Object(r.useEffect)(() => {
            const t = () => {
              n(hi(e.text));
            };
            return Object(mi.a)(t), () => Object(mi.f)(t);
          }, [e.text]),
          a.a.createElement(di, { html: t })
        );
      }
      function gi() {
        const e = Object(i.useSelector)(Mt.h);
        return a.a.createElement(
          Wo,
          null,
          a.a.createElement(
            qo,
            null,
            a.a.createElement(
              'p',
              null,
              a.a.createElement(
                'b',
                null,
                Object(g.e)('no_results_for_searchterm', { searchTerm: `"${e}"` })
              )
            ),
            a.a.createElement('p', null, Object(g.e)('try_use_different_keywords'))
          )
        );
      }
      const fi = Object(B.c)('div', { target: 'e1gy1ic00' })(
          'display:flex;justify-content:center;align-self:center;color:',
          Object(B.f)('grey'),
          ';svg{transform:scale(0.9);transform-origin:50% 50%;path{stroke:currentColor;}margin-top:1px;margin-left:2px;}'
        ),
        vi = Object(B.c)('div', { target: 'e1gy1ic01' })({
          name: '30ybfm',
          styles: 'width:24px;text-align:right;line-height:1.5;',
        }),
        xi = Object(B.c)('div', { target: 'e1gy1ic02' })({
          name: '1760uga',
          styles: 'flex:1;margin-right:20px;overflow:auto;',
        }),
        yi = Object(B.c)('li', { target: 'e1gy1ic03' })(
          'display:flex;flex-direction:row;align-items:center;margin:0 -24px;padding:',
          12,
          'px 24px;cursor:pointer;transition:background 0.1s linear 0s;',
          ({ hasCount: e }) =>
            e &&
            Object(B.b)(
              xi.className,
              '{margin-right:12px;}',
              fi.className,
              '{align-self:flex-start;}'
            ),
          ' ',
          ({ theme: e }) =>
            Object(B.b)(
              '&:hover{background:',
              e.backgroundHover,
              ';',
              fi.className,
              '{color:',
              e.isPrimaryColorLight ? e.grey : e.appColor,
              ';}}'
            )
        ),
        ji = Object(B.c)('div', { target: 'e1gy1ic04' })({
          name: 'bb2s9y',
          styles: 'font-size:14px;line-height:1.5;',
        }),
        Oi = Object(B.c)('div', { target: 'e1gy1ic05' })(
          'font-size:14px;color:',
          Object(B.f)('grey'),
          ';line-height:1.5;'
        );
      function Ci({ text: e, subText: t, onClick: n, children: r, count: o }) {
        return a.a.createElement(
          yi,
          { role: 'listitem', onClick: n, hasCount: !!o },
          a.a.createElement(
            xi,
            null,
            r
              ? a.a.createElement(a.a.Fragment, null, r)
              : a.a.createElement(
                  a.a.Fragment,
                  null,
                  a.a.createElement(ji, null, e),
                  t && a.a.createElement(Oi, null, t)
                )
          ),
          a.a.createElement(
            fi,
            null,
            o && a.a.createElement(vi, null, o),
            a.a.createElement(mo.a, null)
          )
        );
      }
      var wi = Object(i.connect)(
        (e) => ({
          conversation: e.newConversation,
          articles: e.browseMode.searchResults,
          searchedPhrase: e.browseMode.searchedPhrase,
          noResults: Object(Mt.d)(e),
        }),
        (e) => ({
          onArticleClicked: (t, n, r) => {
            e(Object(ci.g)(t, { result_rank: n, phrase: r }, !0));
          },
        })
      )(function (e) {
        return a.a.createElement(
          Vo,
          { role: 'alert' },
          e.noResults
            ? a.a.createElement(gi, null)
            : a.a.createElement(
                Xo,
                null,
                e.articles.map((t, n) =>
                  a.a.createElement(
                    Ci,
                    {
                      role: 'listitem',
                      key: t.summary,
                      onClick: () => e.onArticleClicked(t.id, n + 1, e.searchedPhrase),
                    },
                    a.a.createElement(
                      ji,
                      null,
                      a.a.createElement(Yo, null, a.a.createElement(di, { html: t.title }))
                    ),
                    t.summary &&
                      a.a.createElement(
                        Oi,
                        null,
                        a.a.createElement(Ko, null, a.a.createElement(bi, { text: t.summary }))
                      )
                  )
                )
              )
        );
      });
      function Ei() {
        return a.a.createElement(
          Wo,
          null,
          a.a.createElement(
            qo,
            null,
            a.a.createElement('p', null, Object(g.e)('no_articles_to_display'))
          )
        );
      }
      var ki = Object(i.connect)(
        (e) => ({
          articleCollections: e.articleCollections,
          isFetching: e.browseMode.isFetching,
          allowNewConversation: Object(j.b)(e),
        }),
        { selectArticleCollection: Lo.e }
      )(function ({
        articleCollections: e,
        selectArticleCollection: t,
        isFetching: n,
        allowNewConversation: r,
      }) {
        return n
          ? a.a.createElement(Qr.a, null)
          : 0 === e.length
          ? a.a.createElement(Ei, null)
          : a.a.createElement(
              ni,
              null,
              a.a.createElement(Go, null, Object(g.e)('browse_collections')),
              a.a.createElement(
                Xo,
                null,
                e.map((e) =>
                  a.a.createElement(Ci, {
                    key: e.id,
                    text: e.name,
                    subText: e.description,
                    count: e.articleCount,
                    onClick: () => {
                      n || t(e.id);
                    },
                  })
                )
              ),
              r && a.a.createElement(li, { onlyShowAfterArticleView: !0, withBorderTop: !0 })
            );
      });
      var Si = Object(i.connect)(
          (e, t) => {
            const { shouldSlideIn: n } = t,
              r = e.articleCollections.find(
                (t) => t.id === e.browseMode.selectedArticleCollectionId
              );
            return {
              articleCollection: r,
              articleSections: (null == r ? void 0 : r.sections) || [],
              isFetching: e.browseMode.isFetching,
              shouldSlideIn: n,
              allowNewConversation: Object(j.b)(e),
            };
          },
          (e) => ({ openArticle: (t) => e(Object(ci.g)(t, null, !0)) })
        )(function ({
          articleSections: e,
          isFetching: t,
          openArticle: n,
          articleCollection: r,
          allowNewConversation: o,
        }) {
          return r
            ? a.a.createElement(
                ti,
                null,
                t ? a.a.createElement(Qr.a, null) : null,
                a.a.createElement(
                  ni,
                  null,
                  a.a.createElement(Go, null, r.name),
                  e.map((e) =>
                    a.a.createElement(
                      'div',
                      { key: e.id || 'none' },
                      e.name && a.a.createElement($o, { key: e.id }, e.name),
                      a.a.createElement(
                        Xo,
                        null,
                        e.articles.map((e) =>
                          a.a.createElement(Ci, {
                            key: e.id,
                            text: e.title,
                            onClick: () => n(e.id),
                          })
                        )
                      )
                    )
                  ),
                  o && a.a.createElement(li, { onlyShowAfterArticleView: !0, withBorderTop: !0 })
                )
              )
            : null;
        }),
        _i = n(497);
      function Pi(e) {
        const { children: t } = e,
          [n, o] = Object(r.useState)(!1),
          [i, s] = Object(r.useState)(!1),
          [l, c] = Object(r.useState)(!0);
        return a.a.createElement(
          Ro.a,
          { hideBorder: n && i },
          a.a.createElement(
            b.CSSTransition,
            {
              in: n && i,
              classNames: 'intercom-drop-shadow-fade',
              timeout: 150,
              unmountOnExit: !0,
            },
            a.a.createElement(Ro.d, null)
          ),
          a.a.createElement(
            _i.a,
            {
              isInsideModal: !1,
              flex: !0,
              dynamicChildrenHeight: !0,
              onScrollable: (e, t) => o(t),
              onScroll: (e) =>
                ((e, t, n) => {
                  const r = e.target;
                  t(r.scrollTop > 0), n(r.scrollHeight - r.scrollTop !== r.clientHeight);
                })(e, s, c),
            },
            t
          ),
          a.a.createElement(Ro.b, { hideBottomShadow: !l })
        );
      }
      function Ti() {
        const {
            hasSearchResults: e,
            showSearchResults: t,
            phrase: n,
            searchResults: a,
            hideResultsWithDelay: o,
          } = Object(i.useSelector)((e) => e.browseMode),
          [s, l] = Object(r.useState)(!1),
          [c, d] = Object(r.useState)(!1),
          p = n && n.trim().length <= 5 && 0 === a.length,
          u = Object(r.useRef)(null);
        return (
          Object(r.useEffect)(
            () => (
              e && !t
                ? (d(!1), p ? (u.current = setTimeout(() => l(!0), 1e3)) : l(!0))
                : s !== t &&
                  (t || e || !o
                    ? c || l(t)
                    : (d(!0),
                      (u.current = setTimeout(() => {
                        l(!1), d(!1);
                      }, 500)))),
              () => clearTimeout(u.current)
            ),
            [e, t, p, s, o, c]
          ),
          s
        );
      }
      const Bi = 'all-collections',
        Ni = 'single-collection',
        Ai = 'search-results';
      var Mi = Object(i.connect)((e) => {
          const t = Object(j.b)(e),
            {
              browseMode: { showSearchResults: n, showArticleCollection: r, hasSearchResults: a },
            } = e;
          let o = Bi;
          return (
            n || a ? (o = Ai) : r && (o = Ni),
            { allowNewConversation: t, currentSearchBrowseView: o }
          );
        })(function (e) {
          const [t, n] = Object(r.useState)(!1),
            [o, s] = Object(r.useState)(!0),
            [l, c] = Object(r.useState)(!1),
            d = Object(i.useDispatch)(),
            { allowNewConversation: p, currentSearchBrowseView: u } = e,
            m = Ti() || u === Ai,
            h = u === Bi,
            g = u === Ni,
            f = Object(lr.i)(),
            v = Object(Jr.a)(l),
            x = !m && !v,
            y = Object(i.useSelector)(Mt.d);
          function j() {
            const e = m && p;
            return a.a.createElement(
              ea.a,
              { key: `search-browse-footer-${String(m)}` },
              a.a.createElement(
                a.a.Fragment,
                null,
                e && a.a.createElement(li, { onlyShowAfterArticleView: !y, withBorderTop: !0 })
              )
            );
          }
          return a.a.createElement(
            Do,
            { searchView: m },
            a.a.createElement(
              Pi,
              null,
              a.a.createElement(
                Fo,
                null,
                a.a.createElement(
                  b.CSSTransition,
                  {
                    in: h && !t && !m && !l,
                    classNames: `intercom-search-browse-${
                      g ? 'slide-left-out' : x ? 'slide-left' : 'fade'
                    }`,
                    appear: !0,
                    timeout: 300,
                    mountOnEnter: !0,
                    unmountOnExit: !0,
                    onEnter: () => s(!1),
                    onExited: () => s(!0),
                  },
                  a.a.createElement(ki, null)
                ),
                a.a.createElement(
                  b.CSSTransition,
                  {
                    in: g && o && !m && !l,
                    classNames: `intercom-search-browse-article-collection-${x ? 'in' : 'fade'}`,
                    timeout: 300,
                    appear: !0,
                    mountOnEnter: !0,
                    unmountOnExit: !0,
                    onEnter: () => n(!0),
                    onEntered: () => n(!0),
                    onExited: () => (d(Object(Lo.d)()), void n(!1)),
                  },
                  a.a.createElement(Si, null)
                ),
                a.a.createElement(
                  b.CSSTransition,
                  {
                    in: m && o && !t,
                    classNames: 'intercom-search-browse-fade',
                    timeout: 300,
                    mountOnEnter: !0,
                    unmountOnExit: !0,
                    onEnter: () => c(!0),
                    onExited: () => c(!1),
                  },
                  a.a.createElement(a.a.Fragment, null, a.a.createElement(wi, null), !f && j())
                ),
                f && j()
              )
            )
          );
        }),
        Ii = n(581);
      function zi(e) {
        const { onClick: t } = e;
        return a.a.createElement(
          jo,
          { 'onClick': t, 'aria-label': Object(g.e)('navigation_back') },
          a.a.createElement(Oo, null, a.a.createElement(Be, null), a.a.createElement(Le, null))
        );
      }
      const Li = (e) => e.current && clearTimeout(e.current);
      var Ri = ({ timeout: e = 1500 } = {}) => {
        const [t, n] = Object(r.useState)(!1),
          a = Object(r.useRef)(null),
          o = Object(r.useRef)(null),
          i = Object(r.useRef)(null),
          s = Object(r.useCallback)(() => {
            var e;
            return (
              void 0 !== a.current &&
              '' !== (null === (e = a.current) || void 0 === e ? void 0 : e.value)
            );
          }, [a]),
          l = Object(r.useCallback)(() => {
            Li(o),
              (o.current = setTimeout(() => {
                Li(i), (i.current = null), n(!1);
              }, 1e3));
          }, []);
        return (
          Object(r.useEffect)(
            () => () => {
              Li(o), Li(i);
            },
            []
          ),
          Object(r.useEffect)(() => {
            if ((n(!1), !a.current)) return;
            const t = (t) => {
                s()
                  ? 'Enter' === t.key
                    ? l()
                    : (i.current ||
                        (i.current = setTimeout(() => {
                          Li(i), n(s());
                        }, e)),
                      l())
                  : (Li(o), Li(i), (i.current = null), n(!1));
              },
              r = () => {
                Li(o), Li(i), (i.current = null), n(!1);
              },
              c = a.current;
            return (
              c.addEventListener('keyup', t),
              c.addEventListener('blur', r),
              () => {
                c.removeEventListener('keyup', t), c.removeEventListener('blur', r);
              }
            );
          }, [a, s, l, e]),
          [a, t]
        );
      };
      var Fi = n(646),
        Di = n(153);
      var Hi = Object(i.connect)(
          (e) => ({
            phrase: e.browseMode.phrase,
            isFetchingSearchResults: e.browseMode.isFetchingSearchResults,
            showSearchResults: e.browseMode.showSearchResults,
          }),
          (e) => ({
            onPhraseChange: (t, n) => {
              e(Object(Lo.f)(t, n));
            },
            onBackClick: () => {
              e(Object(Lo.c)()),
                e(Object(Nt.b)(void 0, '', new Date())),
                Fi.a.saveDraft(void 0, '');
            },
            onCloseClick: () => {
              e(Object(X.a)(!0));
            },
            searchArticles: (t) => {
              e(Object(Di.c)(t));
            },
          })
        )(function (e) {
          var t;
          const [n, o] = Ri({ timeout: 1500 }),
            i = Object(Jr.a)(o),
            [s, l] = Object(r.useState)(!1),
            {
              onBackClick: c,
              showSearchResults: d,
              isFetchingSearchResults: p,
              showBrowseMode: u,
            } = e,
            m = Object(At.b)(),
            h = Ti() || d;
          Object(r.useEffect)(() => {
            let e;
            return (
              !m && n.current && (e = setTimeout(() => n.current && n.current.focus(), 500)),
              () => clearTimeout(e)
            );
          }, [n, m]);
          const f = () => {
              m ? e.onCloseClick() : (e.onPhraseChange('', s), n.current && n.current.focus());
            },
            v = Object(g.e)('article_search_hint_text'),
            x =
              !!n.current &&
              (null === (t = n.current) || void 0 === t ? void 0 : t.value.length) > 0,
            y = o || (p && x && i),
            j = !y && h && u;
          return a.a.createElement(
            Ao,
            null,
            a.a.createElement(
              yo,
              null,
              a.a.createElement(zi, { onClick: c }),
              a.a.createElement(
                b.CSSTransition,
                {
                  in: u,
                  classNames: 'intercom-search-browse-fade',
                  timeout: 100,
                  mountOnEnter: !0,
                  unmountOnExit: !0,
                },
                a.a.createElement(
                  Co,
                  null,
                  a.a.createElement(
                    wo,
                    null,
                    a.a.createElement(go, null),
                    a.a.createElement(No, {
                      'ref': n,
                      'value': e.phrase,
                      'onChange': (t) => e.onPhraseChange(t.target.value, s),
                      'onKeyDown': (t) => {
                        if (t.keyCode === Je.a.ENTER) {
                          const n = t.target.value;
                          e.searchArticles(n);
                        }
                        l(t.keyCode === Je.a.DELETE || t.keyCode === Je.a.BACKSPACE);
                      },
                      'aria-label': v,
                      'placeholder': v,
                    })
                  )
                )
              ),
              m
                ? a.a.createElement(
                    a.a.Fragment,
                    null,
                    a.a.createElement(
                      Bo,
                      null,
                      a.a.createElement(
                        b.CSSTransition,
                        {
                          in: y,
                          classNames: 'fade',
                          timeout: 100,
                          mountOnEnter: !0,
                          unmountOnExit: !0,
                        },
                        a.a.createElement(
                          So,
                          null,
                          a.a.createElement(
                            Po,
                            null,
                            a.a.createElement(Qr.a, { size: 'tiny', inline: !0 })
                          )
                        )
                      ),
                      a.a.createElement(
                        b.CSSTransition,
                        {
                          in: j,
                          classNames: 'fade',
                          timeout: 100,
                          mountOnEnter: !0,
                          unmountOnExit: !0,
                        },
                        a.a.createElement(
                          So,
                          null,
                          a.a.createElement(_o, { onClick: () => e.onPhraseChange('', s) }, 'Clear')
                        )
                      )
                    ),
                    a.a.createElement(
                      To,
                      null,
                      a.a.createElement(
                        So,
                        null,
                        a.a.createElement(
                          Eo,
                          { 'aria-label': Object(g.e)('clear'), 'onClick': f },
                          a.a.createElement(Ii.a, null)
                        )
                      )
                    )
                  )
                : a.a.createElement(
                    ko,
                    null,
                    a.a.createElement(
                      b.CSSTransition,
                      {
                        in: y,
                        classNames: 'fade',
                        timeout: 100,
                        mountOnEnter: !0,
                        unmountOnExit: !0,
                      },
                      a.a.createElement(
                        So,
                        null,
                        a.a.createElement(Qr.a, { size: 'tiny', inline: !0 })
                      )
                    ),
                    a.a.createElement(
                      b.CSSTransition,
                      {
                        in: j,
                        classNames: 'fade',
                        timeout: 100,
                        mountOnEnter: !0,
                        unmountOnExit: !0,
                      },
                      a.a.createElement(
                        So,
                        null,
                        a.a.createElement(
                          Eo,
                          { 'aria-label': Object(g.e)('clear'), 'onClick': f },
                          a.a.createElement(Ii.a, null)
                        )
                      )
                    )
                  )
            )
          );
        }),
        Wi = n(582),
        qi = n(519);
      function Ui() {
        return a.a.createElement(
          Wi.b,
          null,
          a.a.createElement(Wi.a, null),
          a.a.createElement(Wi.c, null, a.a.createElement(li, { inArticle: !0 }))
        );
      }
      const Vi = Object(B.d)('0%{opacity:0;}100%{opacity:1;}'),
        Gi = Object(B.d)('0%{opacity:1;}100%{opacity:0;}'),
        $i = Object(B.c)('div', { target: 'edjt5kw0' })({
          name: '1rnkjon',
          styles: 'display:flex;flex-direction:row;flex-grow:1;',
        });
      var Xi = { name: 'u2tihl', styles: 'margin-top:-12px;' };
      const Yi = Object(B.c)('div', { target: 'edjt5kw1' })(
        'display:flex;flex-grow:1;height:51px;',
        ({ theme: e }) => !e.isMobileSize && Xi,
        ' align-items:center;padding:5px 12px;box-sizing:border-box;overflow:hidden;'
      );
      var Ki = { name: 'whh5e5', styles: 'opacity:1;' };
      const Zi = Object(B.c)('div', { target: 'edjt5kw2' })(
        'color:',
        Object(B.f)('bodyText'),
        ';font-size:14px;line-height:21px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;transition:opacity 200ms ease-in-out;transition-delay:150ms;overflow:hidden;opacity:0;',
        ({ show: e }) => e && Ki
      );
      var Ji = { name: '1hyfx7x', styles: 'display:none;' };
      const Qi = Object(B.c)('div', { target: 'edjt5kw3' })(
        'color:',
        Object(B.f)('bodyText'),
        ';color:#000;cursor:pointer;height:51px;width:51px;padding:15px;box-sizing:border-box;text-align:center;line-height:51px;margin-top:-12px;border-radius:8px;&:hover{> svg > path{stroke:',
        Object(B.f)('grey'),
        ';}}',
        ({ theme: e }) => e.isMobileSize && Ji
      );
      var es = { name: 'whh5e5', styles: 'opacity:1;' },
        ts = { name: '1dp3n5r', styles: 'position:relative;top:-12px;' };
      const ns = Object(B.c)('div', { target: 'edjt5kw4' })(
          'display:flex;flex:1;transition:opacity 0.3s;opacity:0;',
          ({ theme: e }) => e.isMobileSize && ts,
          ' ',
          ({ show: e }) => e && es
        ),
        rs = Object(B.c)('div', { target: 'edjt5kw5' })(
          'padding:24px 8px 5px;display:flex;flex-direction:row;&.intercom-messenger-header-view-enter{',
          Zi.className,
          ',',
          Eo.className,
          ',',
          Qi.className,
          '{animation-name:',
          Vi,
          ';animation-duration:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '350ms',
          ';animation-fill-mode:both;}}&.intercom-messenger-header-view-exit{',
          Zi.className,
          ',',
          Eo.className,
          ',',
          Qi.className,
          '{animation-name:',
          Gi,
          ';animation-duration:',
          '150ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;}}'
        );
      var as = () =>
        a.a.createElement(
          'svg',
          {
            width: '16',
            height: '16',
            viewBox: '0 0 16 16',
            fill: 'none',
            xmlns: 'http://www.w3.org/2000/svg',
          },
          a.a.createElement('path', {
            d: 'M1.99902 2.00073L6.99903 7.00073',
            stroke: '#8F8F91',
            strokeWidth: '1.7',
          }),
          a.a.createElement('path', {
            d: 'M6.49902 1.50073L1.49902 1.50073L1.49902 6.50073',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          }),
          a.a.createElement('path', {
            d: 'M8.99902 9.00074L13.999 14.0007',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          }),
          a.a.createElement('path', {
            d: 'M14.499 9.50073L14.499 14.5007L9.49902 14.5007',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          })
        );
      var os = () =>
        a.a.createElement(
          'svg',
          {
            width: '16',
            height: '16',
            viewBox: '0 0 16 16',
            fill: 'none',
            xmlns: 'http://www.w3.org/2000/svg',
          },
          a.a.createElement('path', {
            d: 'M1 1.00073L6 6.00073',
            stroke: '#8F8F91',
            strokeWidth: '1.7',
          }),
          a.a.createElement('path', {
            d: 'M1.5 6.50073L6.5 6.50073L6.5 1.50073',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          }),
          a.a.createElement('path', {
            d: 'M10 10.0017L15 15.0017',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          }),
          a.a.createElement('path', {
            d: 'M9.5 14.5017L9.5 9.50171L14.5 9.50171',
            stroke: '#8F8F91',
            strokeWidth: '1.75',
          })
        );
      var is = Object(i.connect)(
        (e) => {
          var t;
          return {
            articleTitle: null === (t = Object(je.a)(e)) || void 0 === t ? void 0 : t.title,
            shouldArticleFadeIn: Object(je.e)(e),
            isMessengerExpanded: Object(je.c)(e),
          };
        },
        (e) => ({
          onBackClick: () => {
            e(Object(ci.a)());
          },
          toggleArticleExpandMode: (t) => {
            e(Object(ci.k)(t));
          },
          onCloseClick: () => {
            e(Object(X.a)(!0));
          },
        })
      )(function (e) {
        const {
            onBackClick: t,
            articleTitle: n,
            toggleArticleExpandMode: o,
            isMessengerExpanded: i,
            shouldArticleFadeIn: s,
            onCloseClick: l,
            articleIsScrolled: c,
            showTitle: d,
            transitioningBack: p,
          } = e,
          u = Object(r.useRef)(null),
          m = i && !c;
        return a.a.createElement(
          rs,
          { ref: u, expanded: m },
          a.a.createElement(
            $i,
            null,
            a.a.createElement(zi, { onClick: t }),
            a.a.createElement(
              b.CSSTransition,
              {
                in: !p,
                classNames: 'intercom-search-browse-fade',
                timeout: 100,
                mountOnEnter: !0,
                unmountOnExit: !0,
              },
              a.a.createElement(
                ns,
                { show: s },
                a.a.createElement(
                  Yi,
                  null,
                  a.a.createElement(Zi, { 'show': d, 'aria-hidden': 'true' }, n)
                ),
                Object(At.b)()
                  ? a.a.createElement(
                      Eo,
                      { 'aria-label': Object(g.e)('close'), 'onClick': () => l() },
                      a.a.createElement(Ii.a, null)
                    )
                  : a.a.createElement(
                      Qi,
                      { 'aria-hidden': 'true', 'tabIndex': '-1', 'onClick': () => o(!i) },
                      i ? a.a.createElement(os, null) : a.a.createElement(as, null)
                    )
              )
            )
          )
        );
      });
      const ss = Object(B.d)('0%{opacity:0;}100%{opacity:1;}'),
        ls = { name: 'qy02xp', styles: 'margin-left:10%;background:#f5f5f5;border-radius:100px;' },
        cs = Object(B.c)('div', { target: 'e1jcg4ec0' })('width:40%;min-height:16px;', ls),
        ds = Object(B.c)('div', { target: 'e1jcg4ec1' })(
          'width:60%;min-height:16px;margin-top:16px;',
          ls
        ),
        ps = Object(B.c)('div', { target: 'e1jcg4ec2' })(),
        us = Object(B.c)('div', { target: 'e1jcg4ec3' })({
          name: 'wifapm',
          styles: 'margin-top:68px;',
        }),
        ms = Object(B.c)('div', { target: 'e1jcg4ec4' })({
          name: '1tsbos1',
          styles:
            'width:36px;height:36px;border-radius:50%;background:#fafafa;margin-left:10%;margin-top:16px;float:left;',
        }),
        hs = Object(B.c)('div', { target: 'e1jcg4ec5' })({
          name: '1odwksc',
          styles: 'float:left;',
        }),
        bs = Object(B.c)('div', { target: 'e1jcg4ec6' })(
          'min-width:120px;min-height:8px;margin-top:19px;',
          ls
        ),
        gs = Object(B.c)('div', { target: 'e1jcg4ec7' })(
          'position:relative;min-width:80px;min-height:8px;margin-top:12px;',
          ls
        ),
        fs = Object(B.c)('div', { target: 'e1jcg4ec8' })(
          'width:80%;min-height:8px;margin-top:16px;',
          ls
        ),
        vs = Object(B.c)('div', { target: 'e1jcg4ec9' })(
          'width:75%;min-height:8px;margin-top:16px;',
          ls
        ),
        xs = Object(B.c)('div', { target: 'e1jcg4ec10' })(
          'width:160px;min-height:8px;margin-top:16px;',
          ls
        ),
        ys = Object(B.c)('div', { target: 'e1jcg4ec11' })(
          'animation-name:',
          ss,
          ';animation-duration:',
          '50ms',
          ';animation-timing-function:',
          'ease-in-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;'
        );
      function js() {
        return a.a.createElement(
          ys,
          null,
          a.a.createElement(cs, null),
          a.a.createElement(ds, null),
          a.a.createElement(
            ps,
            null,
            a.a.createElement(ms, null),
            a.a.createElement(hs, null, a.a.createElement(bs, null), a.a.createElement(gs, null))
          ),
          a.a.createElement(
            us,
            null,
            a.a.createElement(fs, null),
            a.a.createElement(vs, null),
            a.a.createElement(xs, null)
          )
        );
      }
      const Os = n(158);
      function Cs({
        title: e,
        url: t,
        onLoad: n,
        onSetScrollPosition: o,
        data: s,
        appColor: l,
        hash: c,
      }) {
        const d =
            t +
            `?iframe=true&user=${encodeURIComponent(s)}&color_override=${encodeURIComponent(l)}${
              c ? `#${c}` : ''
            }`,
          p = Object(i.useDispatch)(),
          u = Object(r.useRef)(null),
          [m, h] = Object(r.useState)(0);
        return (
          Object(r.useEffect)(() => {
            var e, t;
            const r = ({ data: { intercomSheet: e } }) => {
                const { type: t, payload: r } = e;
                switch (t) {
                  case 'alexandria-loaded':
                    n && n();
                    break;
                  case 'height-change':
                    h(r.height);
                    break;
                  case 'scroll-to':
                    o(r.offsetTop);
                    break;
                  case 'link-clicked':
                    Object(T.e)(
                      'clicked',
                      'alexandria-article-link',
                      'search-browse',
                      'messenger',
                      { url: r.url }
                    ),
                      p(Object(ci.j)(r.url));
                }
              },
              a =
                null === (e = u.current) || void 0 === e
                  ? void 0
                  : null === (t = e.ownerDocument) || void 0 === t
                  ? void 0
                  : t.defaultView;
            return (
              a && a.addEventListener('message', r, !1),
              () => {
                a && a.removeEventListener('message', r);
              }
            );
          }, [u, n, p, o]),
          a.a.createElement('iframe', {
            title: e,
            sandbox:
              'allow-scripts allow-forms allow-same-origin allow-popups allow-popups-to-escape-sandbox',
            src: `${Os.sheets_proxy_path}?overflowHidden`,
            onLoad: function (e) {
              !(function (e, t) {
                const n = Object(Qe.i)(Qe.e, t, Qe.e);
                e.contentWindow.postMessage(n, '*');
              })(e.target, d);
            },
            allowFullScreen: !0,
            allow: 'microphone *; camera *; autoplay *',
            ref: u,
            style: { width: '100%', minHeight: '100%', height: m },
          })
        );
      }
      function ws({ title: e, show: t, onHeightChange: n }) {
        const r = Object(i.useSelector)(je.c);
        return a.a.createElement(
          Ka.b,
          { onHeightChange: n },
          a.a.createElement(Ss, { show: t, isMessengerExpanded: r }, e)
        );
      }
      var Es = { name: 'l2k2tg', styles: 'padding:0 72px;font-size:24px;line-height:36px;' },
        ks = { name: 'whh5e5', styles: 'opacity:1;' };
      const Ss = Object(B.c)('div', { target: 'e165c8gb0' })(
        'opacity:0;padding:0 24px;font-size:20px;line-height:30px;transition:all 300ms ease;',
        ({ show: e }) => e && ks,
        ' ',
        ({ isMessengerExpanded: e }) => e && Es
      );
      function _s() {
        return (_s =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      const { assign: Ps } = Object;
      var Ts = Object(i.connect)(
        (e) => ({
          article: Object(je.a)(e),
          shouldArticleFadeIn: Object(je.e)(e),
          allowNewConversation: Object(j.b)(e),
          shouldArticleSkeletonFadeIn: Object(je.f)(e),
          appColor: Object(j.d)(e),
          transitioningBack: e.article.transitioningBack,
          hash: e.article.hash,
        }),
        (e) => ({
          onReactionSelect: (t, n, r) => {
            e(Object(ci.e)(rt.b, t, r, n));
          },
          onLoad: () => {
            e(Object(ci.b)());
          },
        }),
        (e, t, n) => {
          const r = Ps({}, e, t, n),
            { article: a, onReactionSelect: o } = r,
            i = a && a.id,
            s = a && a.contentId;
          return Ps(r, { onReactionSelect: o.bind(null, i, s) });
        }
      )(function (e) {
        const {
            article: t,
            shouldArticleFadeIn: n,
            onLoad: o,
            allowNewConversation: s,
            shouldArticleSkeletonFadeIn: l,
            appColor: c,
            transitioningBack: d,
            hash: p,
          } = e,
          [u, m] = Object(r.useState)(0),
          [h, f] = Object(r.useState)(0),
          [v, x] = Object(r.useState)(!1),
          y = Object(i.useDispatch)(),
          j = Object(r.useRef)(null),
          O = Object(Jr.a)(null == t ? void 0 : t.id);
        if (
          (Object(r.useEffect)(() => {
            O !== (null == t ? void 0 : t.id) && m(0);
          }, [t, O]),
          !t)
        )
          return null;
        const { url: C, alexandriaData: w, reactionsReply: E } = t,
          k = !!E,
          S = s && 2 === (null == E ? void 0 : E.reactionIndex),
          _ = l && !n,
          P = u > h;
        return a.a.createElement(
          b.TransitionGroup,
          null,
          a.a.createElement(
            b.CSSTransition,
            { key: C, classNames: '', timeout: 250 },
            a.a.createElement(
              Wi.h,
              { key: C },
              a.a.createElement(is, {
                articleIsScrolled: u > 0,
                showTitle: P,
                transitioningBack: d,
              }),
              _ && a.a.createElement(js, null),
              a.a.createElement(
                b.CSSTransition,
                {
                  in: !d,
                  classNames: 'intercom-search-browse-fade',
                  timeout: 100,
                  mountOnEnter: !0,
                  unmountOnExit: !0,
                  onExited: () => {
                    y(Object(ci.c)());
                  },
                },
                a.a.createElement(
                  Wi.e,
                  { show: n },
                  u > 0 && a.a.createElement(Wi.f, null),
                  a.a.createElement(
                    _i.a,
                    {
                      isInsideModal: !1,
                      onScroll: (e) => {
                        m(e.target.scrollTop);
                      },
                      ref: j,
                      defaultScrollPosition: u,
                    },
                    a.a.createElement(ws, { show: !P, title: t.title, onHeightChange: f }),
                    a.a.createElement(
                      'div',
                      null,
                      a.a.createElement(Cs, {
                        data: w,
                        title: t.title,
                        url: C,
                        hash: p,
                        onLoad: () => {
                          x(!0), o();
                        },
                        appColor: c,
                        onSetScrollPosition: m,
                      })
                    ),
                    k &&
                      a.a.createElement(
                        Wi.g,
                        null,
                        v
                          ? ((e) => {
                              const {
                                article: { reactionsReply: t },
                                onReactionSelect: n,
                              } = e;
                              return a.a.createElement(
                                Wi.d,
                                null,
                                a.a.createElement(
                                  qi.a,
                                  _s({}, t, {
                                    prompt: Object(g.e)('article_question'),
                                    onReactionSelect: n,
                                  })
                                )
                              );
                            })(e)
                          : null,
                        a.a.createElement(
                          b.CSSTransition,
                          {
                            classNames: 'search-browse-reaction-followup',
                            in: S,
                            appear: !0,
                            mountOnEnter: !0,
                            onEntered: () => {
                              j &&
                                setTimeout(() => {
                                  var e;
                                  Object(Je.e)(
                                    null == j
                                      ? void 0
                                      : null === (e = j.current) || void 0 === e
                                      ? void 0
                                      : e.scrollable
                                  );
                                }, 150);
                            },
                            timeout: 150,
                          },
                          a.a.createElement(Ui, null)
                        )
                      )
                  )
                )
              )
            )
          )
        );
      });
      function Bs({ showBody: e }) {
        const t = Object(i.useSelector)(je.b),
          [n, o] = Object(r.useState)(!1),
          s = !t && e,
          l = s || n;
        return a.a.createElement(
          Mo,
          null,
          t && !n && a.a.createElement(Ts, null),
          l && a.a.createElement(Hi, { showBrowseMode: s }),
          a.a.createElement(
            b.CSSTransition,
            {
              in: s,
              classNames: 'intercom-search-browse-fade',
              mountOnEnter: !0,
              unmountOnExit: !0,
              timeout: 100,
              onEnter: () => o(!0),
              onExited: () => o(!1),
            },
            a.a.createElement(Mi, null)
          )
        );
      }
      var Ns = n(0);
      function As({ trackMetric: e = !0, index: t }) {
        const n = Object(i.useDispatch)(),
          {
            isOpen: o,
            transitioningToNewConversation: s,
            skipOpenAnimation: l,
            user: c,
          } = Object(i.useSelector)(Mt.f),
          [d, p] = Object(r.useState)({ width: 0, height: l ? 1 : 0 }),
          [u, m] = Object(r.useState)(l),
          { width: h, height: g } = d,
          f = Object(i.useSelector)(ua.j),
          [v, x] = Object(r.useState)(0),
          [y, j] = Object(r.useState)(l),
          O = Object(Jr.a)(o),
          C = Object(Jr.a)(e);
        Object(r.useEffect)(() => {
          e &&
            !C &&
            Object(T.h)(c, 'viewed', oi.g, 'home-screen', 'messenger', { home_screen_index: t });
        }, [e, c, t, C]);
        const w = Object(r.useRef)(null),
          E = () => {
            (() => {
              if (!w.current || !g) return;
              const {
                offsetTop: e,
                offsetParent: { scrollTop: t },
              } = w.current;
              x(e - t);
            })(),
              n(Object(Lo.b)());
          },
          k = Object(r.useCallback)(() => {
            j(!1), m(!1), n({ type: Ns.tc });
          }, [j, m, n]);
        Object(r.useEffect)(() => {
          Object(lr.i)() && O && !o && k();
        }, [o, O, k]);
        const S = g > 1 && v > 0;
        return a.a.createElement(
          a.a.Fragment,
          null,
          a.a.createElement(
            b.CSSTransition,
            {
              classNames: '',
              in: void 0 !== O && o && S,
              appear: !0,
              timeout: 350,
              onEnter: () => j(!0),
              onEntered: () => {
                m(!0);
              },
              onExited: () => k(),
            },
            a.a.createElement(
              zo,
              {
                ref: w,
                className:
                  'intercom-home-screen-search-browse-card intercom-home-screen-messenger-card',
                width: h,
                height: g,
                transitionStartTop: v,
                transitioningToNewConversation: s,
                skipOpenAnimation: l,
              },
              y && a.a.createElement(Bs, { showBody: u }),
              a.a.createElement(
                Ia,
                null,
                a.a.createElement(
                  Ka.b,
                  {
                    onChange: (e) => {
                      g > 1 || (v || x(e.top + 100), p(e));
                    },
                  },
                  a.a.createElement(
                    Da,
                    { 'aria-hidden': u ? 'true' : 'false' },
                    f
                      ? a.a.createElement(Is, { onClickButton: E })
                      : a.a.createElement(Ms, { onClickButton: E })
                  )
                )
              )
            )
          ),
          y && a.a.createElement(zs, { height: g })
        );
      }
      function Ms({ onClickButton: e }) {
        return a.a.createElement(
          a.a.Fragment,
          null,
          a.a.createElement(
            Ha,
            null,
            a.a.createElement(ba.a, { style: 'header', text: Object(g.e)('search_for_help') })
          ),
          a.a.createElement(fo, { onClick: e })
        );
      }
      function Is({ onClickButton: e }) {
        return a.a.createElement(
          a.a.Fragment,
          null,
          a.a.createElement(
            Ha,
            null,
            a.a.createElement(ba.a, { style: 'header', text: Object(g.e)('get_help') })
          ),
          a.a.createElement(fo, { onClick: e }),
          a.a.createElement(
            Ua,
            null,
            a.a.createElement(on, {
              showTooltip: !0,
              avatarSize: 24,
              maxAdmins: 3,
              avatarPixelsToShow: 12,
              useAppColorForAvatarBorder: !1,
            }),
            Object(g.e)('the_team_can_help_if_needed')
          )
        );
      }
      function zs({ height: e }) {
        return a.a.createElement('div', { style: { height: e, marginBottom: 17 } });
      }
      var Ls = n(681);
      const Rs = Object(B.c)('span', { target: 'e19wqfua0' })(),
        Fs = Object(B.c)('div', { target: 'e19wqfua1' })(
          'display:flex;align-items:flex-end;justify-content:center;flex-shrink:0;margin:11px 0;',
          ({ underConstruction: e }) =>
            e &&
            Object(B.b)(
              'background-image:url(',
              '',
              ');background-repeat:repeat-x;background-size:25px 3px;margin-left:-16px;margin-right:-16px;'
            )
        ),
        Ds = Object(B.c)('a', { target: 'e19wqfua2' })(
          'display:inline-block;font-size:14px;padding:8px 16px;border-radius:16px;transition:all 80ms;color:',
          Object(B.f)('weRunOnIntercomText'),
          ' !important;&:hover{background:',
          Object(B.f)('lightGrey5'),
          ';}'
        ),
        Hs = Object(B.c)('div', { target: 'e19wqfua3' })(),
        Ws = Object(B.c)('div', { target: 'e19wqfua4' })(
          'z-index:',
          Object(ee.m)(2),
          ';position:absolute;bottom:0;left:0;right:0;',
          Fs.className,
          '{position:absolute;opacity:0.97;width:100%;bottom:0;display:flex;align-items:flex-end;justify-content:center;margin:0;padding:5px 0;background-color:',
          Object(B.f)('white'),
          ';box-shadow:0 -10px 10px 1px rgba(0,0,0,0.04);',
          Hs.className,
          '{display:flex;width:100%;justify-content:center;}}'
        );
      var qs = n(490);
      const Us = Object(B.d)(
          '0%{opacity:0;transform:translateX(0);}100%{opacity:1;transform:translateX(0);}'
        ),
        Vs = Object(B.d)(
          '0%{opacity:0;transform:translateX(-60px);}100%{opacity:1;transform:translateX(0);}'
        ),
        Gs = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(-60px);}'
        ),
        $s = Object(B.d)('0%{opacity:0;}100%{opacity:1;}'),
        Xs = Object(B.d)('0%{opacity:1;}100%{opacity:0;}'),
        Ys = Object(B.c)('div', { target: 'ejdnm0c0' })(),
        Ks = (e) => {
          let t = '';
          for (let n = 0; n < 6; n++)
            t += Object(B.b)(
              '.intercom-home-screen-messenger-card',
              ':nth-of-type(',
              n,
              '){animation-delay:',
              e + 150 * n,
              'ms;}'
            ).styles;
          return t;
        },
        Zs = Object(B.b)(
          '&.intercom-messenger-body-view-appear{',
          Ma.className,
          ',',
          Ys.className,
          '{animation-name:',
          Us,
          ';animation-duration:',
          250,
          'ms;animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}',
          Ks(550),
          ';',
          Hs.className,
          '{animation-name:',
          $s,
          ';animation-duration:',
          250,
          'ms;animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          700,
          'ms;animation-fill-mode:both;}}'
        ),
        Js = Object(B.b)(
          '&.intercom-messenger-body-view-enter{',
          Ma.className,
          ',',
          Ys.className,
          '{animation-name:',
          Vs,
          ';animation-duration:',
          250,
          'ms;animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}',
          Ks(0),
          ';',
          Hs.className,
          '{animation-name:',
          $s,
          ';animation-duration:',
          250,
          'ms;animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          150,
          'ms;animation-fill-mode:both;}}'
        ),
        Qs = ({ wasBooting: e }) =>
          e &&
          Object(B.b)(
            '&.intercom-messenger-body-view-enter{',
            Ma.className,
            ',',
            Ys.className,
            '{animation-name:',
            Us,
            ';animation-duration:',
            250,
            'ms;animation-timing-function:',
            'ease-out',
            ';animation-fill-mode:both;}',
            Ks(400),
            ';',
            Hs.className,
            '{animation-name:',
            $s,
            ';animation-duration:',
            250,
            'ms;animation-timing-function:',
            'ease-out',
            ';animation-delay:',
            550,
            'ms;animation-fill-mode:both;}}'
          ),
        el = Object(B.b)(
          '&.intercom-messenger-body-view-exit{',
          Ma.className,
          ',',
          Ys.className,
          '{animation-name:',
          Gs,
          ';animation-duration:',
          250,
          'ms;animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;animation-delay:',
          0,
          'ms;}',
          Hs.className,
          '{animation-name:',
          Xs,
          ';animation-duration:',
          250,
          'ms;animation-timing-function:',
          'ease-out',
          ';animation-fill-mode:both;}}'
        );
      var tl = { name: 'gyp8mm', styles: 'visibility:hidden;' },
        nl = {
          name: 'chx5cz',
          styles: 'transform:scale(0.95);opacity:0;pointer-events:none;overflow-y:hidden;',
        },
        rl = { name: '144vlu9', styles: 'overflow-y:hidden;' };
      const al = Object(B.c)('div', { target: 'ejdnm0c1' })(
        'z-index:',
        Object(ee.m)(2),
        ';position:fixed;top:0;left:0;right:0;bottom:0;overflow-y:auto;-webkit-overflow-scrolling:touch;',
        qs.b.className,
        '{margin-bottom:16px;}',
        Hs.className,
        '{opacity:1;}',
        _a.h.className,
        '{&:after{left:24px;right:24px;}}',
        ({ inBackground: e }) => e && rl,
        ' ',
        ({ skipOpenAnimation: e }) => !e && [Zs, Js, Qs],
        ' ',
        el,
        ' .intercom-messenger-from-browse-mode &.intercom-messenger-body-view-appear,.intercom-messenger-from-browse-mode &.intercom-messenger-body-view-enter{',
        Ma.className,
        ',',
        Ys.className,
        '{animation:none;}',
        Hs.className,
        '{animation:none;}}',
        Ma.className,
        ':not(',
        zo.className,
        '),',
        Ys.className,
        '{transition:transform 0.3s ease-out,opacity 0.3s ease-out;transform:scale(1);',
        ({ inBackground: e }) => e && nl,
        ' ',
        ({ hideNonSearchBrowseCards: e }) => e && tl,
        '}'
      );
      var ol = { name: 'kswkxf', styles: 'padding-bottom:55px;' };
      const il = Object(B.c)('div', { target: 'ejdnm0c2' })(
        'display:flex;flex-direction:column;box-sizing:border-box;padding:0 16px;min-height:100%;',
        ({ isIntercomLinkEnabled: e }) => e && ol
      );
      class home_screen_messenger_card_HomeScreenMessengerCard extends r.PureComponent {
        getClassName() {
          return Ee()({
            'intercom-home-screen-messenger-card': !0,
            [`intercom-home-screen-messenger-card-${this.props.index}`]: !0,
          });
        }
        render() {
          const { cardUri: e, isFetched: t, index: n, frameWindow: r } = this.props;
          return (
            t &&
            a.a.createElement(
              Ys,
              { className: this.getClassName() },
              a.a.createElement(Ls.a, { cardUri: e, homeScreenIndex: n, frameWindow: r })
            )
          );
        }
      }
      const sl = Object(B.c)('div', { target: 'ep2h5g00' })({
        name: '1jqiena',
        styles: 'height:0;overflow:visible;',
      });
      var ll = n(695);
      var cl = ({ visible: e, onRetry: t }) =>
        a.a.createElement(
          sl,
          null,
          a.a.createElement(
            ea.a,
            { duration: 200 },
            e
              ? a.a.createElement(
                  ll.a,
                  { inline: !0, onRetry: t },
                  Object(g.e)('couldnt_load_apps')
                )
              : null
          )
        );
      function dl(e) {
        const { fetchedSlots: t, isFetched: n, isFailed: o } = Object(i.useSelector)(ua.c),
          s = Object(i.useDispatch)(),
          l = () => s(Object(ma.a)()),
          c = Object(r.useCallback)(l, []);
        Object(r.useEffect)(() => {
          c();
        }, [c]);
        const d = Object(i.useSelector)(ua.e),
          p = Object(i.useSelector)(ua.i),
          u = Object(i.useSelector)(ua.f),
          m = Object(i.useSelector)(ua.h),
          h = Object(i.useSelector)(j.a),
          b = Object(i.useSelector)(ua.g);
        if (!n && !o) return a.a.createElement(Aa, null, a.a.createElement(Qr.a, null));
        return a.a.createElement(
          a.a.Fragment,
          null,
          u && a.a.createElement(po, null),
          m && a.a.createElement(ho, null),
          t.map((t, n) => {
            switch (t.slotType) {
              case 'new_conversation_card':
                return d
                  ? (() => {
                      const e = h ? Va : $a;
                      return a.a.createElement(e, {
                        key: 'conversation-card',
                        secondaryVariant: p,
                      });
                    })()
                  : null;
              case 'help_center':
                return b ? a.a.createElement(As, { key: n, index: n }) : null;
              case 'messenger_app':
                return a.a.createElement(home_screen_messenger_card_HomeScreenMessengerCard, {
                  key: n,
                  cardUri: t.uri,
                  index: n,
                  isFetched: !0,
                  frameWindow: e.frameWindow,
                });
            }
          }),
          a.a.createElement(cl, { visible: o, onRetry: l })
        );
      }
      function pl(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class home_screen_HomeScreen extends r.PureComponent {
        constructor(...e) {
          super(...e),
            pl(this, 'node', void 0),
            pl(this, 'addViewedHomeScreenMetric', () => {
              Object(T.e)('viewed', 'home-screen', 'messenger', '', {}, 'm4_metric');
            }),
            pl(this, 'handleScroll', () => {
              if (!this.node) return;
              const { scrollTop: e } = this.node;
              this.props.onScroll(Math.max(0, e));
            });
        }
        componentDidMount() {
          this.addViewedHomeScreenMetric(), this.props.onScroll(0);
        }
        getBodyStyle() {
          const { headerHeight: e } = this.props;
          if (e) return { paddingTop: e - 64 };
        }
        render() {
          const {
            frameWindow: e,
            isIntercomLinkEnabled: t,
            wasBooting: n,
            inBackground: r,
            hideNonSearchBrowseCards: o,
            skipOpenAnimation: i,
          } = this.props;
          return a.a.createElement(
            al,
            {
              ref: (e) => (this.node = e),
              className: 'intercom-home-screen',
              onWheel: this.handleScroll,
              onTouchMove: this.handleScroll,
              onScroll: this.handleScroll,
              wasBooting: n,
              inBackground: r,
              hideNonSearchBrowseCards: o,
              skipOpenAnimation: i,
            },
            a.a.createElement(
              il,
              { style: this.getBodyStyle(), isIntercomLinkEnabled: t },
              a.a.createElement(dl, { frameWindow: e })
            )
          );
        }
      }
      var ul = Object(i.connect)((e) => {
          const { name: t } = e.app,
            n = Object(Mt.c)(e);
          return {
            appName: t,
            isIntercomLinkEnabled: Object(j.l)(e) && !n,
            inBackground: n,
            hideNonSearchBrowseCards: Object(j.i)(e),
            skipOpenAnimation: Object(Mt.i)(e),
          };
        })(home_screen_HomeScreen),
        ml = n(549),
        hl = n(833),
        bl = n.n(hl),
        gl = n(834),
        fl = n.n(gl);
      const vl = Object(B.d)(
          '0%{opacity:0;transform:translateX(-8px);}100%{opacity:1;transform:translateX(0);}'
        ),
        xl = Object(B.d)(
          '0%{opacity:0;transform:translateX(8px);}100%{opacity:1;transform:translateX(0);}'
        ),
        yl = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(-8px);}'
        ),
        jl = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(8px);}'
        ),
        Ol = Object(B.d)(
          '0%{opacity:0;transform:translateY(8px) translateX(-50%) scale(.96);}100%{opacity:1;transform:translateY(0) translateX(-50%) scale(1);}'
        ),
        Cl = Object(B.d)(
          '0%{opacity:1;transform:translateY(0) translateX(-50%) scale(1);}100%{opacity:0;transform:translateY(8px) translateX(-50%) scale(.96);}'
        ),
        wl = Object(B.d)('0%{opacity:0;}100%{opacity:1;}'),
        El = Object(B.d)('0%{opacity:1;}100%{opacity:0;}'),
        kl = Object(B.c)('div', { target: 'e3ty8w50' })(
          'height:100%;',
          Object(ee.b)(bl.a, fl.a, '360px', '512px'),
          ' background-position:top center;background-repeat:no-repeat;'
        ),
        Sl = Object(B.c)('div', { target: 'e3ty8w51' })({
          name: '7pfthe',
          styles: 'position:relative;top:50%;transform:translateY(-50%);',
        }),
        _l = Object(B.c)('div', { target: 'e3ty8w52' })({
          name: '16jf1wt',
          styles: 'font-size:17px;text-align:center;padding-bottom:6px;',
        }),
        Pl = Object(B.c)('div', { target: 'e3ty8w53' })(
          'font-size:15px;text-align:center;color:',
          Object(B.f)('subheaderText'),
          ';'
        ),
        Tl = Object(B.c)('div', { target: 'e3ty8w54' })(
          'position:absolute;top:0;bottom:0;left:0;right:0;&.intercom-messenger-body-view-enter{z-index:',
          Object(ee.m)(1),
          ';',
          ga.className,
          '{animation-name:',
          Ol,
          ';animation-duration:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '250ms',
          ';animation-fill-mode:both;}',
          _a.h.className,
          '{animation-name:',
          xl,
          ';animation-duration:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '250ms',
          ';animation-fill-mode:both;}}&.intercom-messenger-body-view-exit{z-index:',
          Object(ee.m)(),
          ';',
          ga.className,
          '{animation-name:',
          Cl,
          ';animation-duration:',
          '150ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;}',
          _a.h.className,
          '{animation-name:',
          jl,
          ';animation-duration:',
          '150ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;}}.intercom-messenger-from-conversation &.intercom-messenger-body-view-enter,.intercom-messenger-from-new-conversation &.intercom-messenger-body-view-enter{',
          _a.h.className,
          '{animation-name:',
          vl,
          ';}',
          Sl.className,
          '{animation-name:',
          wl,
          ';animation-duration:',
          '250ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '250ms',
          ';animation-fill-mode:both;}}.intercom-messenger-conversation &.intercom-messenger-body-view-exit,.intercom-messenger-new-conversation &.intercom-messenger-body-view-exit{',
          _a.h.className,
          '{animation-name:',
          yl,
          ';}',
          Sl.className,
          '{animation-name:',
          El,
          ';animation-duration:',
          '150ms',
          ';animation-timing-function:',
          'ease-out',
          ';animation-delay:',
          '0s',
          ';animation-fill-mode:both;}}'
        ),
        Bl = Object(B.c)('div', { target: 'e3ty8w55' })({
          name: 'ckc1q3',
          styles: '-webkit-overflow-scrolling:touch;overflow-y:auto;height:100%;',
        }),
        Nl = Object(B.c)('div', { target: 'e3ty8w56' })(
          'z-index:',
          Object(ee.m)(1),
          ';text-align:center;position:absolute;bottom:0;left:0;right:0;border-radius:0 0 6px 6px;height:90px;pointer-events:none;background:linear-gradient(0deg,rgba(255,255,255,1),rgba(255,255,255,0));'
        ),
        Al = Object(B.c)('div', { target: 'e3ty8w57' })({
          name: '1mhn2ve',
          styles: 'padding-bottom:105px;',
        });
      function Ml(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const Il = ['pointer'];
      class conversations_Conversations extends r.Component {
        constructor(...e) {
          super(...e),
            Ml(this, 'addViewedConversationListMetric', () => {
              Object(T.e)('viewed', 'conversation_list', 'messenger', '', {});
            }),
            Ml(this, 'addConversationClickMetric', (e) => {
              Object(T.e)(
                'clicked',
                e ? 'conversation' : 'new_conversation',
                'messenger',
                'from_conversation_list',
                { conversation_id: e }
              );
            }),
            Ml(this, 'handleConversationClick', (e) => {
              this.addConversationClickMetric(e), this.props.onConversationClick(e);
            }),
            Ml(
              this,
              'handleScrollEnd',
              Object(ml.a)((e) => {
                const { onConversationsPage: t, onConversationsScroll: n } = this.props;
                if ((n(e.target.scrollTop), !this.shouldPageConversations())) return;
                const { pagesFetched: r } = this.props.conversations;
                t(r + 1, 10);
              }, 200)
            );
        }
        componentDidMount() {
          this.props.onConversationsPage(1, 10),
            (this.conversations.scrollTop = this.props.conversations.scrollPosition),
            this.addViewedConversationListMetric();
        }
        shouldPageConversations() {
          const { pagesFetched: e, totalPages: t, isFetching: n } = this.props.conversations;
          return !n && e < t && Object(Je.m)(this.conversations) > 0.5;
        }
        getSortedConversations() {
          let e = [...this.props.conversations.all];
          return (
            (e = e.filter((e) => {
              const t = e.parts[0];
              return !(-1 !== Il.indexOf(t.messageType) && 'disabled' === t.replyType);
            })),
            e.sort((e, t) => t.lastPartCreatedAt - e.lastPartCreatedAt)
          );
        }
        renderLoading() {
          return a.a.createElement(Qr.a, null);
        }
        renderConversations() {
          const e = this.getSortedConversations(),
            { appName: t, appAdmins: n, userId: r } = this.props,
            { scrollPosition: o } = this.props.conversations;
          return a.a.createElement(
            Al,
            null,
            e.map((e, i) =>
              a.a.createElement(conversation_summary_ConversationSummary, {
                rowIndex: i - parseInt(o / 102),
                key: i,
                conversation: e,
                appName: t,
                appAdmins: n,
                userId: r,
                onClick: this.handleConversationClick,
              })
            )
          );
        }
        renderEmpty() {
          return a.a.createElement(
            kl,
            null,
            a.a.createElement(
              Sl,
              null,
              a.a.createElement(_l, null, Object(g.e)('no_conversations')),
              a.a.createElement(
                Pl,
                null,
                Object(g.e)('empty_conversations', { name: this.props.appName })
              )
            )
          );
        }
        renderBody() {
          const { isFetching: e, pagesFetched: t } = this.props.conversations;
          return e && !t
            ? this.renderLoading()
            : 0 === this.props.conversations.all.length
            ? this.renderEmpty()
            : this.renderConversations();
        }
        render() {
          const {
            onNewConversationClick: e,
            showNewConversationButton: t,
            accessToTeammateEnabledAfterBot: n,
          } = this.props;
          return a.a.createElement(
            Tl,
            { className: 'intercom-conversations' },
            a.a.createElement(
              Bl,
              {
                ref: (e) => (this.conversations = e),
                onScroll: this.handleScrollEnd,
                onWheel: Je.d,
              },
              this.renderBody()
            ),
            a.a.createElement(
              Nl,
              null,
              t
                ? a.a.createElement(new_conversation_button_NewConversationButton, {
                    onClick: e,
                    variant: 'fixed',
                    metricsContext: 'from_conversation_list',
                    contentId: n ? 'send_us_a_message' : 'ask_a_question',
                    IconComponent: n ? xa : Ga,
                  })
                : null
            )
          );
        }
      }
      conversations_Conversations.propTypes = {
        conversations: h.a.shape({
          all: h.a.arrayOf(h.a.shape({ lastPartCreatedAt: h.a.instanceOf(Date).isRequired }))
            .isRequired,
          totalPages: h.a.number,
          pagesFetched: h.a.number,
          isFetching: h.a.bool,
          scrollPosition: h.a.number,
        }).isRequired,
        appName: h.a.string.isRequired,
        appAdmins: h.a.arrayOf(h.a.object).isRequired,
        showNewConversationButton: h.a.bool,
        accessToTeammateEnabledAfterBot: h.a.bool,
        userId: h.a.string.isRequired,
        onConversationsPage: h.a.func,
        onConversationClick: h.a.func,
        onNewConversationClick: h.a.func,
        onConversationsScroll: h.a.func.isRequired,
      };
      var zl = n(47);
      var Ll = Object(i.connect)(
          (e) => {
            const { name: t, activeAdmins: n } = e.app,
              { id: r } = e.user,
              {
                isFetching: a,
                pagesFetched: o,
                totalPages: i,
                scrollPosition: s,
              } = e.conversations,
              l = Object(Xa.a)(e);
            return {
              appName: t,
              appAdmins: n,
              showNewConversationButton: Object(ua.e)(e),
              userId: r,
              accessToTeammateEnabledAfterBot: Object(j.a)(e),
              conversations: {
                all: l,
                isFetching: a,
                pagesFetched: o,
                totalPages: i,
                scrollPosition: s,
              },
            };
          },
          (e) => ({
            onConversationsPage: (t, n) => {
              e(Object(zl.d)(rt.b, 'onConversationsPage', t, n));
            },
            onConversationClick: (t) => {
              e(Object(co.a)(t)), e(Object(Nt.l)(rt.b, t));
            },
            onNewConversationClick: () => {
              e(Object(X.j)());
            },
            onConversationsScroll: (t) => {
              e(Object(zl.a)(t));
            },
          }),
          (e, t, n) =>
            Object.assign({}, e, t, n, {
              onConversationClick: (e) => {
                t.onConversationClick(e);
              },
            })
        )(conversations_Conversations),
        Rl = n(22),
        Fl = n(682);
      const Dl = Object(B.c)('svg', { target: 'ecskrwv0' })(
        'width:16px;height:16px;color:',
        Object(B.f)('weRunOnIntercomText'),
        ';vertical-align:sub;padding-right:8px;> g{fill:#181818;}'
      );
      var Hl = () =>
        a.a.createElement(
          Dl,
          { 'focusable': 'false', 'aria-hidden': 'true', 'viewBox': '0 0 16 16' },
          a.a.createElement(
            'g',
            null,
            a.a.createElement('path', {
              d: 'M13.9 8.8C13.9 9.1 13.6 9.3 13.3 9.3 13 9.3 12.8 9.1 12.8 8.8L12.8 4C12.8 3.7 13 3.5 13.3 3.5 13.6 3.5 13.9 3.7 13.9 4L13.9 8.8 13.9 8.8ZM13.7 12.1C13.6 12.2 11.6 13.9 8 13.9 4.4 13.9 2.4 12.2 2.3 12.1 2.1 11.9 2.1 11.6 2.3 11.4 2.5 11.2 2.8 11.1 3 11.3 3 11.4 4.8 12.8 8 12.8 11.2 12.8 13 11.3 13 11.3 13.2 11.1 13.5 11.2 13.7 11.4 13.9 11.6 13.9 11.9 13.7 12.1L13.7 12.1ZM2.1 4C2.1 3.7 2.4 3.5 2.7 3.5 3 3.5 3.2 3.7 3.2 4L3.2 8.8C3.2 9.1 3 9.3 2.7 9.3 2.4 9.3 2.1 9.1 2.1 8.8L2.1 4 2.1 4ZM4.8 2.9C4.8 2.6 5 2.4 5.3 2.4 5.6 2.4 5.9 2.6 5.9 2.9L5.9 10.1C5.9 10.4 5.6 10.6 5.3 10.6 5 10.6 4.8 10.4 4.8 10.1L4.8 2.9 4.8 2.9ZM7.5 2.7C7.5 2.4 7.7 2.1 8 2.1 8.3 2.1 8.5 2.4 8.5 2.7L8.5 10.4C8.5 10.7 8.3 10.9 8 10.9 7.7 10.9 7.5 10.7 7.5 10.4L7.5 2.7 7.5 2.7ZM10.1 2.9C10.1 2.6 10.4 2.4 10.7 2.4 11 2.4 11.2 2.6 11.2 2.9L11.2 10.1C11.2 10.4 11 10.6 10.7 10.6 10.4 10.6 10.1 10.4 10.1 10.1L10.1 2.9 10.1 2.9ZM14 0L2 0C0.9 0 0 0.9 0 2L0 14C0 15.1 0.9 16 2 16L14 16C15.1 16 16 15.1 16 14L16 2C16 0.9 15.1 0 14 0L14 0Z',
            })
          )
        );
      function Wl(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class intercom_link_IntercomLink extends r.Component {
        constructor(...e) {
          super(...e),
            Wl(this, 'handleClick', () => {
              this.addMetric('clicked');
            }),
            Wl(this, 'getLinkUrl', () => {
              const {
                  userId: e,
                  appName: t,
                  intercomLinkSolution: n,
                  appId: r,
                  currentView: a,
                  isDeveloperWorkspace: o,
                } = this.props,
                i = n || '';
              let s = 'utm_content=4+';
              a && (s += `${a}+`), (s += o ? 'developer-workspace&' : 'we-run-on-intercom&');
              const l = Object(lr.i)() ? 'mobile-web' : 'desktop-web',
                c = encodeURI(window.location.origin + window.location.pathname);
              return (
                'https://www.intercom.com/intercom-link?' +
                `user_id=${e || ''}&` +
                `powered_by_app_id=${r || ''}&` +
                `company=${encodeURIComponent(t)}&` +
                `solution=${i}&` +
                s +
                `utm_source=${l}&` +
                'utm_medium=messenger&utm_campaign=intercom-link&' +
                `utm_referrer=${c}`
              );
            });
        }
        addMetric(e) {
          const { currentView: t, isDeveloperWorkspace: n } = this.props,
            r = n ? 'developer_workspace' : 'we_run_on_intercom';
          Object(T.e)(e, r, 'messenger', t, {}, 'm4_metric');
        }
        render() {
          const { isDeveloperWorkspace: e } = this.props;
          return a.a.createElement(
            Fs,
            { underConstruction: e },
            a.a.createElement(
              Hs,
              null,
              a.a.createElement(
                Ds,
                { href: this.getLinkUrl(), onClick: this.handleClick, target: '_blank' },
                a.a.createElement(Hl, null),
                a.a.createElement(
                  Rs,
                  { id: 'intercom-link-text' },
                  e ? 'Development Workspace' : Object(g.e)('we_run_on_intercom')
                )
              )
            )
          );
        }
      }
      Wl(intercom_link_IntercomLink, 'defaultProps', { currentView: 'conversation' });
      var ql = Object(i.connect)(function (e, t) {
          const { intercomLinkSolution: n, composerHeight: r, currentView: a } = t;
          let o, i;
          e.session && (o = e.session.appId), e.user && (i = e.user.id);
          const { name: s, isDeveloperWorkspace: l } = e.app;
          return {
            appId: o,
            appName: s,
            userId: i,
            composerHeight: r,
            intercomLinkSolution: n,
            currentView: a,
            isDeveloperWorkspace: l,
          };
        })(intercom_link_IntercomLink),
        Ul = n(599),
        Vl = n(593),
        Gl = n(486);
      const $l = Object(B.c)('div', { target: 'esmjpyp0' })({
          name: '1cu59x3',
          styles:
            '-webkit-overflow-scrolling:touch;position:absolute;top:0;left:0;right:0;bottom:0;.intercom-conversation-body-main-group{display:flex;flex-direction:column;flex-grow:1;}',
        }),
        Xl = Object(B.c)('div', { target: 'esmjpyp1' })(
          'display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch;outline-offset:-5px;.intercom-conversation-body-bottom-group{&-enter{opacity:0.01;}&-enter-active{opacity:1;transition:opacity ',
          100,
          'ms ease-in ',
          300,
          'ms;}&-exit{opacity:1;}&-exit-active{opacity:0;transition:opacity ',
          100,
          'ms ease-out;}}'
        );
      Object(B.c)('div', { target: 'esmjpyp2' })({
        name: '2v1rcw',
        styles: 'flex-shrink:0;padding:0 19px;',
      });
      var Yl = n(529);
      function Kl() {
        return (Kl =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function Zl(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_body_ConversationBody extends r.Component {
        constructor(...e) {
          super(...e),
            Zl(this, 'partsRef', void 0),
            Zl(this, 'firstUnreadPartRef', void 0),
            Zl(this, 'state', { scrolledToBottom: !1, partsHeight: 0 }),
            Zl(this, 'scrollToFirstUnreadPartOrBottom', () => {
              const { partsRef: e, firstUnreadPartRef: t } = this;
              if (!(this.props.conversation.parts.length <= 1))
                return t ? Object(Je.B)(e, t.offsetTop - 10) : void this.scrollToBottom();
            }),
            Zl(this, 'handleScroll', () => {
              const { partsRef: e } = this;
              e && this.setState({ scrolledToBottom: Object(Je.s)(e, 0) });
            }),
            Zl(this, 'handleWheel', (e) => {
              const { partsRef: t } = this;
              if (!t) return;
              const { scrollTop: n } = t,
                { deltaY: r } = e,
                { isHeaderCollapsed: a } = this.props;
              ((a && n >= 0 && r > 0) || (n > 0 && r < 0)) && e.stopPropagation(), Object(Yl.a)(e);
            }),
            Zl(this, 'handlePartsLengthChange', () => {
              const { partsRef: e } = this;
              if (!e) return;
              const { isHeaderCollapsed: t, onHeaderCollapse: n } = this.props;
              !t && Object(Je.r)(e) && n(), this.scrollToBottom();
            }),
            Zl(this, 'handlePartsHeightChange', () => {
              if (!this.partsRef) return;
              const { clientHeight: e } = this.partsRef;
              this.setState({ partsHeight: e });
            }),
            Zl(this, 'handleHeaderExpand', () => {
              this.scrollToTop();
            }),
            Zl(this, 'handleSuggestionsHeightChange', (e) => {
              e > this.context.suggestionsMaxHeightWithExpandedHeaderPx &&
                this.props.onHeaderCollapse();
              const { partsRef: t } = this;
              t && Object(Je.e)(t);
            }),
            Zl(
              this,
              'didSuggestionsChange',
              (e) =>
                e.conversationSuggestions &&
                this.props.conversationSuggestions &&
                !Ce()(
                  e.conversationSuggestions.suggestions,
                  this.props.conversationSuggestions.suggestions
                ) &&
                this.props.conversationSuggestions.suggestions &&
                this.props.conversationSuggestions.suggestions.length
            ),
            Zl(this, 'scrollToBottom', () => {
              const { partsRef: e } = this;
              e && Object(Je.z)(e);
            }),
            Zl(this, 'setPartsRef', (e) => {
              this.partsRef = e;
            }),
            Zl(this, 'setUnreadPartRef', (e, t) => {
              const { readAt: n } = this.props.conversation;
              !this.firstUnreadPartRef && n && n < t.createdAt && (this.firstUnreadPartRef = e);
            });
        }
        componentDidMount() {
          const { conversation: e, onHeaderCollapse: t } = this.props;
          void 0 !== e.id && t(),
            this.handlePartsHeightChange(),
            this.scrollToFirstUnreadPartOrBottom();
        }
        componentDidUpdate(e) {
          this.didFetchingEnd(e) && this.scrollToFirstUnreadPartOrBottom(),
            this.didPartsLengthChange(e) && this.handlePartsLengthChange(),
            this.didHeaderExpand(e) && this.handleHeaderExpand(),
            this.didSuggestionsChange(e) && this.scrollToBottom();
        }
        didFetchingEnd(e) {
          const { isFetching: t, isUpdating: n } = this.props.conversation;
          return e.conversation.isFetching && !e.conversation.isUpdating && !t && !n;
        }
        didPartsLengthChange(e) {
          return e.conversation.parts.length !== this.props.conversation.parts.length;
        }
        didHeaderExpand(e) {
          return e.isHeaderCollapsed && !this.props.isHeaderCollapsed;
        }
        scrollToTop() {
          const { partsRef: e } = this;
          e && Object(Je.B)(e, 0);
        }
        getPartsStyle() {
          return { bottom: this.props.composerHeight };
        }
        getPartsRef() {
          return this.partsRef;
        }
        renderParts() {
          const {
              appName: e,
              conversation: t,
              frameWindow: n,
              composerHeight: r,
              onRetry: o,
              onReactionSelect: i,
              onArticleCardClick: s,
              conversationSuggestions: l,
              temporaryExpectationsMessage: c,
            } = this.props,
            { partsHeight: d, scrolledToBottom: p } = this.state,
            u = d - r;
          return a.a.createElement(
            Vl.a,
            {
              errorText: 'Something went wrong loading the conversation',
              align: 'center',
              style: { marginTop: '20px', flex: 1 },
            },
            a.a.createElement(Fl.a, {
              appName: e,
              conversation: t,
              maxHeight: u,
              scrolledToBottom: p,
              frameWindow: n,
              setPartRef: this.setUnreadPartRef,
              onRetry: o,
              onReactionSelect: i,
              onArticleCardClick: s,
              conversationSuggestions: l,
              temporaryExpectationsMessage: c,
            })
          );
        }
        renderBottomGroup() {
          const {
            onSuggestionClicked: e,
            setComposerSuggestionsDismissed: t,
            conversationSuggestions: n,
            isIntercomLinkEnabled: r,
            conversation: o,
          } = this.props;
          if (!r && !n) return null;
          const i = {
            conversation: o,
            setComposerSuggestionsDismissed: t,
            onClick: e,
            onHeightChange: this.handleSuggestionsHeightChange,
          };
          return a.a.createElement(
            Vl.a,
            {
              errorText: 'Something went wrong loading the suggestions',
              align: 'center',
              style: { marginBottom: '10px' },
            },
            a.a.createElement(Ul.a, Kl({}, i, { conversationSuggestions: n })),
            a.a.createElement(
              b.CSSTransition,
              {
                classNames: 'intercom-conversation-body-bottom-group',
                timeout: { enter: 400, exit: 100 },
              },
              a.a.createElement(
                a.a.Fragment,
                null,
                r &&
                  a.a.createElement(ql, {
                    intercomLinkSolution: this.props.conversation.intercomLinkSolution,
                  })
              )
            )
          );
        }
        render() {
          const { isFetching: e, isUpdating: t } = this.props.conversation,
            n = e && !t;
          return a.a.createElement(
            $l,
            {
              className: 'intercom-conversation-body',
              onScroll: this.handleScroll,
              onWheel: this.handleWheel,
              bottomOffset: this.getPartsStyle().bottom,
            },
            a.a.createElement(
              Xl,
              {
                'className': 'intercom-conversation-body-parts',
                'ref': this.setPartsRef,
                'style': this.getPartsStyle(),
                'tabIndex': '0',
                'aria-live': 'assertive',
                'aria-atomic': 'false',
                'role': 'alert',
              },
              a.a.createElement(
                'div',
                { className: 'intercom-conversation-body-main-group' },
                n ? a.a.createElement(Qr.a, null) : this.renderParts(),
                n ? null : this.renderBottomGroup()
              )
            )
          );
        }
      }
      Zl(conversation_body_ConversationBody, 'defaultProps', { composerHeight: 0 }),
        Zl(conversation_body_ConversationBody, 'contextType', Gl.ThemeContext);
      var Jl = Object(i.connect)((e) => {
          const { name: t, isIntercomLinkEnabled: n, temporaryExpectationsMessage: r } = e.app;
          return { appName: t, isIntercomLinkEnabled: n, temporaryExpectationsMessage: r };
        })(conversation_body_ConversationBody),
        Ql = n(684),
        ec = n(7);
      const tc = Object(B.c)('div', { target: 'eszl1uz0' })({
        name: '6ve7wk',
        styles: 'position:absolute;bottom:0;left:0;right:0;border-radius:0 0 6px 6px;',
      });
      var nc = n(494);
      const rc = Object(B.c)('div', { target: 'e1c81gv20' })(
          'padding-bottom:2px;border-top:1px solid ',
          Object(B.f)('composerBorder'),
          ';background-color:',
          Object(B.f)('white'),
          ';box-shadow:rgba(0,0,0,0.08) 0px 0px 20px 0px;'
        ),
        ac = Object(B.c)('div', { target: 'e1c81gv21' })({
          name: '11km39e',
          styles: 'padding-bottom:22px;text-align:center;',
        }),
        oc = Object(B.c)('div', { target: 'e1c81gv22' })(
          ({ theme: e }) =>
            Object(B.b)(
              'color:',
              e.isPrimaryColorLight ? Object(nc.b)(e.metaText, 15) : e.metaText,
              ';'
            ),
          ' margin:16px auto;text-align:center;font-size:13px;padding-top:4px;'
        );
      function ic(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_ended_ConversationEnded extends r.Component {
        constructor(...e) {
          super(...e), ic(this, 'composer', void 0);
        }
        componentDidMount() {
          this.handleHeightChange();
        }
        handleHeightChange() {
          const { onHeightChange: e } = this.props;
          e && this.composer && e(this.composer.clientHeight);
        }
        render() {
          const {
            allowNewConversation: e,
            accessToTeammateEnabledAfterBot: t,
            inboundConversationsDisabled: n,
          } = this.props;
          return a.a.createElement(
            rc,
            { ref: (e) => (this.composer = e) },
            a.a.createElement(oc, null, Object(g.e)('conversation_has_ended')),
            e && !n
              ? a.a.createElement(
                  ac,
                  null,
                  a.a.createElement(new_conversation_button_NewConversationButton, {
                    onClick: this.props.onNewConversationClick,
                    variant: 'default',
                    metricsContext: 'conversation',
                    contentId: t ? 'send_us_a_message' : 'ask_a_question',
                    IconComponent: t ? xa : Ga,
                  })
                )
              : null
          );
        }
      }
      ic(conversation_ended_ConversationEnded, 'contextType', c.a);
      const sc = Object(B.c)('a', { target: 'ep1ks430' })(
          'display:inline-block;height:40px;font-size:14px;line-height:40px;pointer-events:auto;cursor:pointer;border-radius:40px;text-align:center;transition:all 120ms;padding:0 24px;span{padding-left:10px;white-space:nowrap;font-weight:600;}',
          ({ variant: e, theme: t }) =>
            'default' === e &&
            Object(B.b)(
              'background-color:',
              t.buttonBackgroundColor,
              ' !important;color:',
              t.buttonTextColor,
              ' !important;transition:color 0.3s,background-color 0.3s;&:hover{background-color:',
              t.buttonBackgroundColorHover,
              ' !important;}&:active{background-color:',
              t.buttonBackgroundColorActive,
              ' !important;}'
            ),
          ' ',
          ({ variant: e, theme: t }) =>
            'default' === e &&
            t.isPrimaryColorLight &&
            Object(B.b)('border:1px solid ', t.lightGrey2, ';')
        ),
        lc = Object(B.c)('div', { target: 'ep1ks431' })({
          name: '18biwo',
          styles: 'display:inline-flex;align-items:center;',
        });
      function cc(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class continue_on_whatsapp_button_ContinueOnWhatsappButton extends r.PureComponent {
        constructor(...e) {
          super(...e),
            cc(this, 'handleContinueOnWhatsppClick', () => (this.continueOnWhatsappMetric(), !0)),
            cc(this, 'continueOnWhatsappMetric', () => {
              Object(T.e)(
                'clicked',
                'continue_on_whatsapp',
                'messenger',
                this.props.metricsContext,
                this.props.metadata,
                'm4_metric'
              );
            });
        }
        render() {
          const { IconComponent: e } = this.props;
          return a.a.createElement(
            sc,
            {
              href: 'https://wa.me',
              target: '_blank',
              variant: 'default',
              className: 'continue-on-whatsapp-button',
              onClick: this.handleContinueOnWhatsppClick,
            },
            a.a.createElement(
              lc,
              null,
              a.a.createElement(e, { variant: 'default' }),
              a.a.createElement('span', null, Object(g.e)('continue_on_whatsapp'))
            )
          );
        }
      }
      cc(continue_on_whatsapp_button_ContinueOnWhatsappButton, 'defaultProps', {
        IconComponent: xa,
        metadata: {},
      });
      const dc = Object(B.c)('div', { target: 'efq8ygy0' })(
          'padding-bottom:2px;border-top:1px solid ',
          Object(B.f)('composerBorder'),
          ';background-color:',
          Object(B.f)('white'),
          ';box-shadow:rgba(0,0,0,0.08) 0px 0px 20px 0px;'
        ),
        pc = Object(B.c)('div', { target: 'efq8ygy1' })({
          name: '11km39e',
          styles: 'padding-bottom:22px;text-align:center;',
        }),
        uc = Object(B.c)('div', { target: 'efq8ygy2' })(
          ({ theme: e }) =>
            Object(B.b)(
              'color:',
              e.isPrimaryColorLight ? Object(nc.b)(e.metaText, 15) : e.metaText,
              ';'
            ),
          ' margin:16px auto;text-align:center;font-size:13px;padding-top:4px;'
        );
      class whatsapp_switched_footer_WhatsappSwitchedFooter extends r.Component {
        constructor(...e) {
          super(...e),
            (function (e, t, n) {
              t in e
                ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0,
                  })
                : (e[t] = n);
            })(this, 'composer', void 0);
        }
        componentDidMount() {
          this.handleHeightChange();
        }
        handleHeightChange() {
          const { onHeightChange: e } = this.props;
          e && this.composer && e(this.composer.clientHeight);
        }
        render() {
          return a.a.createElement(
            dc,
            { ref: (e) => (this.composer = e) },
            a.a.createElement(uc, null, Object(g.e)('can_continue_whatsapp')),
            a.a.createElement(
              pc,
              null,
              a.a.createElement(continue_on_whatsapp_button_ContinueOnWhatsappButton, {
                metricsContext: 'whatsapp',
              })
            )
          );
        }
      }
      class conversation_footer_ConversationFooter extends r.Component {
        componentWillUnmount() {
          this.props.onHeightChange(0);
        }
        shouldShowReactionPicker() {
          const e = Object(ec.d)(this.props.conversation);
          return e && e.reactionsReply && 'text' !== e.replyType;
        }
        shouldShowWhatsAppSwitch() {
          return 'whatsapp' === this.props.conversation.currentChannel;
        }
        renderComposer() {
          const {
            appWindow: e,
            frameWindow: t,
            conversation: n,
            showEmojiPicker: r,
            showGifPicker: o,
            onHeightChange: i,
            onEmojiPickerToggle: s,
            onGifPickerToggle: l,
            onHeaderCollapse: c,
            headerHeight: d,
            shouldShowUpfrontEmailComposer: p,
            shouldShowConversationSuggestions: u,
            conversationSuggestions: m,
          } = this.props;
          return a.a.createElement(Ql.a, {
            conversation: n,
            appWindow: e,
            frameWindow: t,
            showEmojiPicker: r,
            showGifPicker: o,
            onEmojiPickerToggle: s,
            onGifPickerToggle: l,
            onHeightChange: i,
            onHeaderCollapse: c,
            shouldShowConversationSuggestions: u,
            shouldShowUpfrontEmailComposer: p,
            headerHeight: d,
            conversationSuggestions: m,
            isPrimaryColorReadable: this.context.isPrimaryColorReadable,
          });
        }
        renderReactionPicker() {
          const { conversation: e, onReactionSelect: t, onHeightChange: n } = this.props,
            { reactionsReply: r } = Object(ec.d)(e),
            { reactionSet: o, reactionIndex: i } = r;
          return a.a.createElement(qi.a, {
            reactionSet: o,
            reactionIndex: i,
            onReactionSelect: t,
            onHeightChange: n,
          });
        }
        renderConversationEnded() {
          const {
            onNewConversationClick: e,
            onHeightChange: t,
            allowNewConversation: n,
            accessToTeammateEnabledAfterBot: r,
            conversation: o,
          } = this.props;
          return a.a.createElement(conversation_ended_ConversationEnded, {
            onNewConversationClick: e,
            onHeightChange: t,
            allowNewConversation: n,
            accessToTeammateEnabledAfterBot: r,
            inboundConversationsDisabled: o.inboundConversationsDisabled,
          });
        }
        renderComposerOrConversationEnded() {
          return this.props.conversation.preventEndUserReplies
            ? this.renderConversationEnded()
            : this.renderComposer();
        }
        renderWhatsappSwitchedFooter() {
          return a.a.createElement(whatsapp_switched_footer_WhatsappSwitchedFooter, {
            onHeightChange: this.props.onHeightChange,
          });
        }
        render() {
          return this.shouldShowWhatsAppSwitch()
            ? a.a.createElement(tc, null, this.renderWhatsappSwitchedFooter())
            : a.a.createElement(
                tc,
                null,
                this.shouldShowReactionPicker()
                  ? this.renderReactionPicker()
                  : this.renderComposerOrConversationEnded()
              );
        }
      }
      !(function (e, t, n) {
        t in e
          ? Object.defineProperty(e, t, {
              value: n,
              enumerable: !0,
              configurable: !0,
              writable: !0,
            })
          : (e[t] = n);
      })(conversation_footer_ConversationFooter, 'contextType', c.a);
      var mc = n(508),
        hc = n(693),
        bc = n(170);
      const gc = (e) => {
        if (e.length <= 1) return !1;
        const t = [];
        for (const n in e) t.push(e[n].kind);
        return t.indexOf('string') >= 0 && t.indexOf('file') >= 0;
      };
      var fc = n(670),
        vc = n(521);
      const xc = Object(B.d)(
          '0%{opacity:0;transform:translateX(8px);}100%{opacity:1;transform:translateX(0);}'
        ),
        yc = Object(B.d)(
          '0%{opacity:1;transform:translateX(0);}100%{opacity:0;transform:translateX(8px);}'
        ),
        jc = Object(B.d)('0%{opacity:0;}100%{opacity:1;}'),
        Oc = Object(B.d)('0%{opacity:1;}100%{opacity:0;}'),
        Cc = Object(B.d)(
          '0%{opacity:0;transform:translateY(15px);}100%{opacity:1;transform:translateY(0);}'
        ),
        wc = Object(B.d)(
          '0%{opacity:1;transform:translateY(0);}100%{opacity:0;transform:translateY(15px);}'
        ),
        Ec = Object(B.c)('div', { target: 'e1qfa7ao0' })(
          'position:absolute;top:0;bottom:0;left:0;right:0;',
          fc.a.className,
          '{opacity:1;transform:translateX(0);animation-name:',
          xc,
          ';animation-duration:',
          320,
          'ms;animation-timing-function:',
          'cubic-bezier(0.23, 1, 0.32, 1)',
          ';animation-delay:',
          230,
          'ms;animation-fill-mode:backwards;}',
          fc.b.className,
          ':after{animation-name:',
          jc,
          ';animation-duration:',
          320,
          'ms;animation-timing-function:',
          'cubic-bezier(0.23, 1, 0.32, 1)',
          ';animation-delay:',
          230,
          'ms;animation-fill-mode:backwards;}',
          Hs.className,
          ',',
          tc.className,
          ',',
          vc.c.className,
          '{opacity:1;transform:translateY(0);animation-name:',
          Cc,
          ';animation-duration:',
          320,
          'ms;animation-timing-function:',
          'cubic-bezier(0.23, 1, 0.32, 1)',
          ';animation-delay:',
          80,
          'ms;animation-fill-mode:both;}.intercom-messenger-from-inline-article-view &.intercom-messenger-body-view-enter,.intercom-messenger-from-browse-mode &.intercom-messenger-body-view-enter{',
          fc.a.className,
          '{animation-delay:',
          230,
          'ms;}',
          fc.b.className,
          ':after{animation-delay:',
          230,
          'ms;}',
          Hs.className,
          ',',
          tc.className,
          ',',
          vc.c.className,
          '{animation-delay:',
          250,
          'ms;}}&.intercom-messenger-body-view-enter{z-index:',
          Object(ee.m)(),
          ';}&.intercom-messenger-body-view-exit{z-index:',
          Object(ee.m)(1),
          ';',
          fc.a.className,
          '{animation-name:',
          yc,
          ';animation-duration:',
          320,
          'ms;animation-timing-function:',
          'cubic-bezier(0.23, 1, 0.32, 1)',
          ';animation-delay:',
          20,
          'ms;animation-fill-mode:both;}',
          fc.b.className,
          ':after{animation-name:',
          Oc,
          ';animation-duration:',
          320,
          'ms;animation-timing-function:',
          'cubic-bezier(0.23, 1, 0.32, 1)',
          ';animation-delay:',
          20,
          'ms;animation-fill-mode:both;}',
          Hs.className,
          ',',
          tc.className,
          ',',
          vc.c.className,
          '{animation-name:',
          wc,
          ';animation-duration:',
          320,
          'ms;animation-timing-function:',
          'cubic-bezier(0.23, 1, 0.32, 1)',
          ';animation-delay:',
          120,
          'ms;animation-fill-mode:both;}.intercom-messenger-from-conversation &{',
          Hs.className,
          ',',
          vc.c.className,
          '{animation:none;}}}&.intercom-messenger-body-view-exit-active{',
          Hs.className,
          ',',
          vc.c.className,
          '{opacity:0;}}',
          ({ isFetching: e }) =>
            e &&
            Object(B.b)(
              fc.a.className,
              ',',
              Hs.className,
              ',',
              tc.className,
              '{opacity:0;animation:none;}'
            )
        );
      function kc(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class conversation_Conversation extends r.Component {
        constructor(...e) {
          super(...e),
            kc(this, 'state', { isEmojiPickerOpen: !1, isGifPickerOpen: !1, footerHeight: 0 }),
            kc(this, 'addConversationOpenedMetric', () => {
              var e;
              const { conversation: t, selfServeSuggestionsEnabled: n } = this.props;
              Object(T.e)('viewed', t.id ? 'conversation' : 'new_conversation', 'messenger', '', {
                conversation_id: t.id,
                self_serve_suggestions_enabled: !!n,
                url: null === (e = Object(mi.d)()) || void 0 === e ? void 0 : e.href,
              });
            }),
            kc(this, 'handleEmojiPickerToggle', () => {
              this.setState({ isEmojiPickerOpen: !this.state.isEmojiPickerOpen });
            }),
            kc(this, 'handleGifPickerToggle', () => {
              this.setState({ isGifPickerOpen: !this.state.isGifPickerOpen });
            }),
            kc(this, 'handleFileSubmit', (e) => {
              this.isComposerDisabled() ||
                this.isComposerHidden() ||
                (this.props.uploadsEnabled && e && 0 !== e.length && this.createAttachmentParts(e));
            }),
            kc(this, 'createAttachmentParts', (e) => {
              const { conversation: t } = this.props,
                { composerState: n } = t,
                { customBotActive: r } = n,
                a = void 0 === t.id;
              if (e.length > 5)
                return void Object(T.c)('attachment_limit_exceeded', {
                  file_count: e.length,
                  place: 'conversation',
                });
              const o = Array.from(e);
              a || r
                ? this.createBlocksForImageOrAttachment(o[0])
                : o.forEach((e) => this.createBlocksForImageOrAttachment(e));
            }),
            kc(this, 'createBlocksForImageOrAttachment', (e) => {
              const { onAttachmentSubmit: t } = this.props;
              Object(He.b)(e).then((n) => {
                if (n) {
                  const { width: r, height: a, src: o } = n,
                    i = Object(bc.b)(n.src, e.name, e.type);
                  t(Object(Ja.b)(o, r, a), i);
                } else {
                  const { name: n, type: r, size: a } = e;
                  t(Object(Ja.a)(n, r, a), e);
                }
              });
            }),
            kc(this, 'handlePaste', (e) => {
              this.handleFileSubmit(
                ((e) => {
                  const t = e.clipboardData || e.originalEvent.clipboardData,
                    { items: n } = t,
                    r = [],
                    a = gc(n);
                  for (const e in n) {
                    const t = n[e];
                    if ('file' === t.kind && !a) {
                      const e = t.getAsFile();
                      r.push(e);
                    }
                  }
                  return r;
                })(e)
              );
            }),
            kc(this, 'handleDragOver', (e) => {
              e.stopPropagation(), e.preventDefault();
            }),
            kc(this, 'handleDrop', (e) => {
              e.stopPropagation(),
                e.preventDefault(),
                this.handleFileSubmit(((e) => e.dataTransfer.files)(e));
            }),
            kc(this, 'handleFooterHeightChange', (e) => {
              e !== this.state.footerHeight && this.setState({ footerHeight: e });
            }),
            kc(this, 'handleReactionSelect', (e) => {
              this.props.onReactionSelect(e);
            }),
            kc(this, 'handleClick', () => {
              const { isEmojiPickerOpen: e, isGifPickerOpen: t } = this.state;
              e
                ? this.setState({ isEmojiPickerOpen: !1 })
                : t && this.setState({ isGifPickerOpen: !1 });
            });
        }
        componentDidMount() {
          const { conversation: e, userIsPresent: t } = this.props;
          !e.read && t && this.handleConversationRead(),
            this.maybeDeliverBotIntro(),
            this.addConversationOpenedMetric();
        }
        maybeDeliverBotIntro() {
          const { eligibleBotIntro: e, deliverBotIntro: t } = this.props;
          this.shouldDeliverBotIntro() && t(e);
        }
        shouldDeliverBotIntro() {
          const { eligibleBotIntro: e, conversationSuggestions: t, conversation: n } = this.props;
          return !n.id && !n.botIntroId && !t.isInboundBotSuggestions && e;
        }
        addReplyMetric(e) {
          const t = Object(ec.d)(e);
          Object(ec.l)(t) ? this.addOperatorReplyMetric(e, t) : this.addAdminReplyMetric(e, t);
        }
        addAdminReplyMetric(e, t) {
          Object(T.e)('received', 'reply', 'messenger', 'in_conversation', {
            conversation_id: e.id,
            part_id: t.id,
          });
        }
        addOperatorReplyMetric(e, t) {
          Object(T.e)('received', 'operator_reply', 'messenger', 'in_conversation', {
            conversation_id: e.id,
            part_id: t.id,
            type: Object(ec.f)(t),
          }),
            this.addOperatorFormMetrics(e, t);
        }
        addOperatorFormMetrics(e, t) {
          const { form: n } = t;
          n &&
            n.attributes.forEach(({ identifier: r }) => {
              let a = 'automated_lead_qualification';
              return (
                'upfront_collection' === n.type && (a = 'upfront_user_collection'),
                Object(T.e)('received', 'operator_reply', 'messenger', 'in_conversation', {
                  type: a,
                  conversation_id: e.id,
                  part_id: t.id,
                  attribute_identifier: r,
                  attribute_type: Object(ec.c)(n, r),
                  form_type: n.type,
                  attribute_is_custom_data: Object(ec.k)({ identifier: r }),
                })
              );
            });
        }
        componentDidUpdate(e) {
          const { conversation: t } = e;
          this.shouldMarkConversationAsRead(e) && this.handleConversationRead(),
            'all' === t.fetchState &&
              Object(ec.a)(t) < Object(ec.a)(this.props.conversation) &&
              this.addReplyMetric(this.props.conversation);
        }
        handleConversationRead() {
          this.props.onConversationRead();
        }
        isComposerDisabled() {
          const { parts: e } = this.props.conversation;
          if (0 === e.length) return !1;
          const { saveState: t } = e[0];
          return 'saving' === t || 'failed' === t;
        }
        isInboundBotWithDisabledComposer() {
          const { conversationSuggestions: e } = this.props;
          return e.isInboundBotSuggestions && e.composerDisabled;
        }
        isLastPartSending() {
          const { parts: e } = this.props.conversation;
          if (0 === e.length) return !1;
          const { saveState: t } = e[e.length - 1];
          return 'saving' === t;
        }
        isComposerHidden() {
          const { conversation: e } = this.props,
            { composerState: t } = e;
          return (
            !t.visible ||
            (t.customBotActive && this.isLastPartSending()) ||
            e.preventEndUserReplies ||
            this.isInboundBotWithDisabledComposer()
          );
        }
        shouldMarkConversationAsRead(e) {
          if (!this.props.userIsPresent) return !1;
          const { conversation: t, userIsPresent: n } = e;
          return (t.read && !this.props.conversation.read) || (!t.read && !n);
        }
        shouldShowFooter() {
          const { conversation: e } = this.props;
          if (this.isComposerHidden() && !e.preventEndUserReplies) return !1;
          const t = Object(ec.d)(e);
          return !(
            t &&
            'attribute_collector' === t.replyType &&
            ((n = t.form), void 0 === n.attributes.find(({ value: e }) => null != e))
          );
          var n;
        }
        renderBody() {
          const {
            frameWindow: e,
            conversation: t,
            isHeaderCollapsed: n,
            onArticleCardClick: r,
            onRetry: o,
            onHeaderCollapse: i,
            conversationSuggestions: s,
            onSuggestionClicked: l,
            setComposerSuggestionsDismissed: c,
            onNewConversationClick: d,
          } = this.props;
          return a.a.createElement(Jl, {
            conversation: t,
            conversationSuggestions: s,
            isHeaderCollapsed: n,
            composerHeight: this.state.footerHeight,
            frameWindow: e,
            onArticleCardClick: r,
            onReactionSelect: this.handleReactionSelect,
            onRetry: o,
            onHeaderCollapse: i,
            onSuggestionClicked: l,
            setComposerSuggestionsDismissed: c,
            onNewConversationClick: d,
          });
        }
        renderFooter() {
          const {
            appWindow: e,
            frameWindow: t,
            conversation: n,
            onHeaderCollapse: r,
            shouldShowUpfrontEmailComposer: o,
            allowNewConversation: i,
            headerHeight: s,
            conversationSuggestions: l,
            onNewConversationClick: c,
            accessToTeammateEnabledAfterBot: d,
          } = this.props;
          return a.a.createElement(conversation_footer_ConversationFooter, {
            conversation: n,
            appWindow: e,
            frameWindow: t,
            showEmojiPicker: this.state.isEmojiPickerOpen,
            showGifPicker: this.state.isGifPickerOpen,
            onHeightChange: this.handleFooterHeightChange,
            onEmojiPickerToggle: this.handleEmojiPickerToggle,
            onGifPickerToggle: this.handleGifPickerToggle,
            onReactionSelect: this.handleReactionSelect,
            onHeaderCollapse: r,
            shouldShowUpfrontEmailComposer: o,
            allowNewConversation: i,
            headerHeight: s,
            conversationSuggestions: l,
            onNewConversationClick: c,
            accessToTeammateEnabledAfterBot: d,
          });
        }
        render() {
          const { isFetching: e, isUpdating: t } = this.props.conversation;
          return a.a.createElement(
            mc.a.Provider,
            { value: mc.b },
            a.a.createElement(
              Ec,
              {
                className: 'intercom-conversation',
                onPaste: this.handlePaste,
                onDragOver: this.handleDragOver,
                onDrop: this.handleDrop,
                onClick: this.handleClick,
                tabIndex: '-1',
                role: 'presentation',
                isFetching: e && !t,
              },
              this.renderBody(),
              this.shouldShowFooter() ? this.renderFooter() : null
            )
          );
        }
      }
      conversation_Conversation.propTypes = {
        conversation: h.a.shape({
          id: h.a.string,
          parts: h.a.arrayOf(h.a.shape({ saveState: h.a.oneOf(['saved', 'saving', 'failed']) }))
            .isRequired,
          read: h.a.bool.isRequired,
          preventEndUserReplies: h.a.bool,
          fetchState: h.a.oneOf(['summary', 'partial', 'all']),
          isFetching: h.a.bool.isRequired,
          isUpdating: h.a.bool.isRequired,
          composerState: h.a.shape({ visible: h.a.bool.isRequired, customBotActive: h.a.bool })
            .isRequired,
          inboundConversationsDisabled: h.a.bool,
          botIntroId: h.a.string,
        }).isRequired,
        conversationSuggestions: h.a.shape({
          prompt: h.a.any,
          isInboundBotSuggestions: h.a.bool,
          composerDisabled: h.a.bool,
          suggestions: h.a.arrayOf(
            h.a.shape({
              uuid: h.a.string.isRequired,
              text: h.a.string.isRequired,
              preAction: h.a.string,
            })
          ),
        }),
        appWindow: h.a.any.isRequired,
        frameWindow: h.a.any.isRequired,
        userIsPresent: h.a.bool.isRequired,
        userSuppliedEmail: h.a.string,
        role: h.a.string,
        shouldShowUpfrontEmailComposer: h.a.bool,
        allowNewConversation: h.a.bool,
        isHeaderCollapsed: h.a.bool,
        uploadsEnabled: h.a.bool,
        onReactionSelect: h.a.func.isRequired,
        onConversationRead: h.a.func.isRequired,
        onArticleCardClick: h.a.func,
        onRetry: h.a.func.isRequired,
        onAttachmentSubmit: h.a.func.isRequired,
        onHeaderCollapse: h.a.func.isRequired,
        deliverBotIntro: h.a.func.isRequired,
        headerHeight: h.a.number,
        onSuggestionClicked: h.a.func,
        setComposerSuggestionsDismissed: h.a.func,
        selfServeSuggestionsEnabled: h.a.bool,
        onNewConversationClick: h.a.func,
        accessToTeammateEnabledAfterBot: h.a.bool,
        eligibleBotIntro: h.a.shape({
          id: h.a.string,
          operator: h.a.object,
          parts: h.a.arrayOf(h.a.any),
        }),
      };
      const Sc = Object(hc.a)(conversation_Conversation);
      var _c = n(171),
        Pc = n(164),
        Tc = n(534);
      const Bc = Object(f.createSelector)(
        [(e) => e.app.conversationId, Tc.a, (e) => e.botIntro],
        (e, t, n) => (e ? null : t.isInboundBotSuggestions ? null : n.id ? n : null)
      );
      var Nc = Object(i.connect)(
        (e) => {
          const { userConversationAttachmentsEnabled: t, userConversationGifsEnabled: n } = e.app,
            { isPresent: r } = e.user,
            a = Object(Bt.b)(e),
            o = e.app && e.app.officeHoursResponse,
            i = e.borderless,
            { lastParticipatingAdmin: s } = a,
            l = Object(j.p)(e),
            c = Object(j.b)(e);
          return {
            conversation: a,
            conversationSuggestions: Object(Tc.a)(e),
            userIsPresent: r,
            officeHoursResponse: o,
            isBorderless: i,
            lastParticipatingAdmin: s,
            uploadsEnabled: t,
            gifsEnabled: n,
            shouldShowUpfrontEmailComposer: l,
            allowNewConversation: c,
            selfServeSuggestionsEnabled: Object(Tc.d)(e),
            accessToTeammateEnabledAfterBot: Object(j.a)(e),
            eligibleBotIntro: Bc(e),
          };
        },
        (e) => ({
          onArticleCardClick: (t, n) => e(Object(ci.g)(t, n, !1)),
          onConversationRead: (t) => {
            e(Object(Nt.m)(rt.b, t));
          },
          onRetry: (t, n) => {
            e(Object(Nt.q)(rt.b, t, n));
          },
          onReactionSelect: (t, n) => {
            e(Object(Nt.k)(rt.b, t, n, !0));
          },
          setComposerSuggestionsDismissed: (t) => {
            e(Object(Pc.b)(t));
          },
          onAttachmentSubmit: (t, n, r, a, o = new Date()) => {
            const i = { clientId: n, createdAt: o, body: r, file: a };
            e(Object(Nt.j)(rt.b, t, i));
          },
          onSuggestionClicked: (t, n, r, a) => e(Object(_c.a)(rt.b, t, n, !1, r, !1, a)),
          onNewConversationClick: () => {
            e(Object(X.j)('', !0));
          },
          deliverBotIntro: (t) => {
            e(
              (function (e) {
                return { type: Ns.T, botIntro: e, createdAt: new Date() };
              })(t)
            );
          },
        }),
        (e, t, n) => {
          const r = e.conversation.id,
            a = e.officeHoursResponse,
            o = {
              onConversationRead: () => {
                t.onConversationRead(r);
              },
              onAttachmentSubmit: (e, n) => {
                t.onAttachmentSubmit(r, Object(Rl.b)(), e, n);
              },
              onRetry: (n) => {
                t.onRetry(e.conversation, n);
              },
              onReactionSelect: (e) => {
                t.onReactionSelect(r, e);
              },
              setComposerSuggestionsDismissed: () => {
                t.setComposerSuggestionsDismissed(r);
              },
              onSuggestionClicked: (n) => {
                const { conversation: r } = e,
                  o = Object(Tc.c)(r);
                return t.onSuggestionClicked(r, n, o, a);
              },
            };
          return Object.assign({}, n, e, t, o);
        }
      )(Sc);
      const Ac = Object(B.c)('div', { target: 'e8111ny0' })({
        name: '1xafcqx',
        styles:
          'position:relative;flex:1;background-color:white;box-shadow:inset 0 21px 4px -20px rgba(0,0,0,0.2);',
      });
      let Mc = 1;
      function Ic(e) {
        const { isBooting: t, currentView: n } = e,
          o = Object(Jr.a)(n);
        return a.a.createElement(
          Ac,
          null,
          a.a.createElement(
            b.TransitionGroup,
            { component: r.Fragment, appear: !0, enter: !0, exit: !0 },
            a.a.createElement(
              b.CSSTransition,
              {
                key: t
                  ? 'booting'
                  : 'empty-screen' === n
                  ? 'empty-screen'
                  : 'home-screen' === n
                  ? 'home-screen'
                  : 'conversations' === n
                  ? 'conversations'
                  : 'conversation' === n || 'messenger-trigger' === n || 'new-conversation' === n
                  ? ('conversation' === o && 'new-conversation' === n && Mc++, `conversation-${Mc}`)
                  : void 0,
                classNames: 'intercom-messenger-body-view',
                timeout: { enter: 1850, exit: 'home-screen' === n ? 420 : 320 },
              },
              (() => {
                const {
                  isBooting: t,
                  wasBooting: n,
                  isWaitingForOpenContent: r,
                  isHeaderCollapsed: o,
                  headerHeight: i,
                  currentView: s,
                  appWindow: l,
                  frameWindow: c,
                  onHeaderCollapse: d,
                  onScroll: p,
                } = e;
                return t
                  ? a.a.createElement(na, null)
                  : r && 'new-conversation' === s
                  ? a.a.createElement(blocking_loader_BlockingLoader, null)
                  : 'home-screen' === s
                  ? a.a.createElement(ul, {
                      headerHeight: i,
                      onScroll: p,
                      frameWindow: c,
                      wasBooting: n,
                    })
                  : 'empty-screen' === s
                  ? a.a.createElement(pa, null)
                  : 'conversations' === s
                  ? a.a.createElement(Ll, { appWindow: l })
                  : 'messenger-trigger' === s
                  ? a.a.createElement(ia, null)
                  : a.a.createElement(Nc, {
                      isHeaderCollapsed: o,
                      appWindow: l,
                      frameWindow: c,
                      onHeaderCollapse: d,
                      headerHeight: i || 211,
                    });
              })()
            )
          )
        );
      }
      var zc = n(671);
      const Lc = { opacity: 0, transform: 'translate(0, 42px)' },
        Rc = { opacity: 1, transform: 'translate(0, 0)' };
      function Fc(e) {
        const { children: t } = e,
          n = Object(zc.a)(1150);
        return Object(s.useTransition)([null, t], null, {
          from: Lc,
          enter: Rc,
          leave: Lc,
          trail: n ? (t ? 250 : 0) : 1150,
          immediate: !1,
        }).map(
          ({ item: e, props: t, key: n }) =>
            e && a.a.createElement(s.animated.div, { style: t, key: n }, e)
        );
      }
      var Dc = n(503),
        Hc = n(536),
        Wc = n(557);
      function qc(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_close_button_MessengerCloseButton extends r.Component {
        constructor(...e) {
          super(...e),
            qc(this, 'state', { isHoveringOnCloseButton: !1 }),
            qc(this, 'handleClick', () => {
              Object(T.e)('closed', 'messenger', 'messenger', 'from_close_button'),
                this.props.onCloseClick();
            }),
            qc(this, 'handleMouseEnter', () => {
              this.setState({ isHoveringOnCloseButton: !0 });
            }),
            qc(this, 'handleMouseLeave', () => {
              this.setState({ isHoveringOnCloseButton: !1 });
            });
        }
        getCloseButtonBodyStyle() {
          const { headerOpacity: e, currentView: t } = this.props;
          if ((!e && 0 !== e) || 'home-screen' !== t) return {};
          const n = Math.abs(0.3 * (e - 1));
          return {
            backgroundColor: `rgba(0, 0, 0, ${this.state.isHoveringOnCloseButton ? 0.5 : n})`,
          };
        }
        render() {
          const { isCloseButtonEnabled: e } = this.props;
          return a.a.createElement(
            Wc.a,
            {
              'onClick': this.handleClick,
              'onMouseEnter': this.handleMouseEnter,
              'onMouseLeave': this.handleMouseLeave,
              'tabIndex': e ? 0 : -1,
              'aria-label': Object(g.e)('close'),
              'aria-hidden': !e,
              'enabled': e,
            },
            a.a.createElement(
              Wc.b,
              { style: this.getCloseButtonBodyStyle() },
              a.a.createElement(Hc.a, null)
            )
          );
        }
      }
      var Uc = Object(i.connect)(
          (e) => ({ isCloseButtonEnabled: It(e) }),
          (e) => ({
            onCloseClick: () => {
              e(Object(X.a)(!0));
            },
          })
        )(messenger_close_button_MessengerCloseButton),
        Vc = { name: '17ny6oe', styles: '-webkit-text-size-adjust:100%;' };
      const Gc = Object(B.c)('div', { target: 'e16fp1gy0' })(
        '-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;justify-content:flex-start;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;',
        ({ theme: e }) => e.isMobileSize && Vc,
        ' ',
        ({ theme: e }) =>
          e.tabNavigation &&
          Object(B.b)(
            "&:focus{outline:none !important;&:after{content:'';display:block;position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;z-index:",
            Object(ee.m)(3, e),
            ';outline-offset:-5px;outline-style:solid;outline-style:auto;outline-width:5px;}}'
          ),
        ' @media (-ms-high-contrast:active){border:1px solid white;}'
      );
      function $c() {
        return ($c =
          Object.assign ||
          function (e) {
            for (var t = 1; t < arguments.length; t++) {
              var n = arguments[t];
              for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
            }
            return e;
          }).apply(this, arguments);
      }
      function Xc(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_Messenger extends r.Component {
        constructor(...e) {
          super(...e),
            Xc(this, 'focusTrap', null),
            Xc(this, 'messengerContainer', null),
            Xc(this, 'state', {
              maxHeaderHeight: 0,
              headerHeight: void 0,
              bodyScrollTop: 0,
              previousView: void 0,
              wasBooting: !1,
              prevProps: this.props,
            }),
            Xc(this, 'handleHeaderHeightChange', (e) => {
              this.setState({ maxHeaderHeight: e, headerHeight: e });
            }),
            Xc(this, 'handleWheel', (e) => {
              const {
                  currentView: t,
                  shouldShowUpfrontEmailComposer: n,
                  upfrontEmailCollectorShowing: r,
                } = this.props,
                { headerHeight: a, maxHeaderHeight: o } = this.state;
              if (!a) return;
              if ('home-screen' === t || 'browse-mode' === t) return;
              if (n && r) return;
              const i = Ve(a - e.deltaY, 75, o);
              this.setState({ headerHeight: i }), this.handleWheelEnd(e);
            }),
            Xc(
              this,
              'handleWheelEnd',
              Object(ml.a)(() => {
                this.getHeaderPercentageCollapsed() <= 0.5
                  ? this.handleHeaderExpand()
                  : this.handleHeaderCollapse();
              }, 200)
            ),
            Xc(this, 'handleHeaderExpand', () => {
              this.setState({ headerHeight: this.state.maxHeaderHeight });
            }),
            Xc(this, 'handleHeaderCollapse', () => {
              this.setState({ headerHeight: 75 });
            }),
            Xc(this, 'handleBodyScroll', (e) => {
              this.setState({ bodyScrollTop: e });
            });
        }
        componentDidMount() {
          this.addMobileTagsAndClasses(), this.focusMessenger();
          const e = () => Object(_.g)();
          (this.focusTrap = new P.a({
            document: this.props.frameWindow.document,
            firstElement: e,
            lastElement: e,
            disableEndingTrap: () => this.props.isLauncherEnabled,
          })),
            Object(T.k)('openedMessenger');
        }
        componentDidUpdate(e) {
          const { currentView: t } = this.props;
          this.state.wasBooting && this.focusTrap && this.focusTrap.recalculateFocusableElements(),
            e.currentView !== t && 'home-screen' === t && this.focusMessenger();
        }
        componentWillUnmount() {
          this.removeMobileTagsAndClasses(),
            this.restoreMobileScrollPosition(),
            this.focusTrap && this.focusTrap.restore();
        }
        static getDerivedStateFromProps(e, t) {
          if (!t || Ce()(e, t.prevProps)) return null;
          const { currentView: n, isBooting: r } = e;
          return t.prevProps.currentView !== n
            ? { previousView: t.prevProps.currentView, prevProps: e }
            : t.prevProps.isBooting || !r
            ? { wasBooting: t.prevProps.isBooting, prevProps: e }
            : { prevProps: e };
        }
        focusMessenger() {
          const { currentView: e } = this.props;
          this.messengerContainer &&
            'conversation' !== e &&
            'new-conversation' !== e &&
            this.messengerContainer.focus();
        }
        getHeaderPercentageCollapsed() {
          const { maxHeaderHeight: e, headerHeight: t } = this.state;
          return e && t && 75 !== e ? 1 - Math.abs((t - 75) / (e - 75)) : 1;
        }
        addMobileTagsAndClasses() {
          if (Object(lr.i)() && Object(At.b)()) {
            const { appWindow: e } = this.props;
            Object(At.a)(e),
              Object(Je.b)(e.document.documentElement, 'intercom-mobile-messenger-active'),
              Object(lr.g)() &&
                Object(Je.b)(e.document.documentElement, 'intercom-mobile-messenger-ios-15');
          }
        }
        removeMobileTagsAndClasses() {
          if (Object(lr.i)() && Object(At.b)()) {
            const { appWindow: e } = this.props;
            Object(At.c)(e),
              Object(Je.x)(e.document.documentElement, 'intercom-mobile-messenger-active'),
              Object(lr.g)() &&
                Object(Je.x)(e.document.documentElement, 'intercom-mobile-messenger-ios-15');
          }
        }
        restoreMobileScrollPosition() {
          if (Object(lr.i)() && Object(At.b)()) {
            var e, t;
            const { scrollTop: n } = this.props;
            null !== (e = window) &&
              void 0 !== e &&
              null !== (t = e.parent) &&
              void 0 !== t &&
              t.scrollTo &&
              window.parent.scrollTo(0, n);
          }
        }
        getClassName() {
          let { previousView: e } = this.state;
          return (
            (e = e || ''),
            Ee()('intercom-messenger', `intercom-messenger-${this.props.currentView}`, {
              [`intercom-messenger-from-${e}`]: '' !== e,
            })
          );
        }
        renderLink(e) {
          const { isIntercomLinkEnabled: t } = this.props,
            n = t && -1 !== ['home-screen', 'empty-screen'].indexOf(e);
          return a.a.createElement(
            Ws,
            null,
            a.a.createElement(
              Fc,
              null,
              n && a.a.createElement(ql, { intercomLinkSolution: 'live-chat', currentView: e })
            )
          );
        }
        render() {
          const {
              appWindow: e,
              frameWindow: t,
              currentView: n,
              isBooting: r,
              isWaitingForOpenContent: o,
              isSheetOpen: i,
              isLauncherEnabled: s,
            } = this.props,
            { headerHeight: l, bodyScrollTop: c, wasBooting: d } = this.state,
            p = this.getHeaderPercentageCollapsed(),
            u = 1 === p,
            m = { 'tabIndex': i ? '-1' : '0', 'aria-hidden': i || void 0 },
            h = ((e, t) => (t ? 1 - Math.min(Math.abs(e / (t / 2)), 1) : 1))(c, l);
          return a.a.createElement(
            'div',
            null,
            a.a.createElement(
              Gc,
              $c(
                {
                  className: this.getClassName(),
                  onWheel: this.handleWheel,
                  ref: (e) => (this.messengerContainer = e),
                },
                m
              ),
              a.a.createElement(gt, { currentView: n, headerHeight: l }),
              a.a.createElement(Uc, { headerOpacity: h, currentView: n }),
              a.a.createElement(Zr, {
                isBooting: r,
                wasBooting: d,
                isWaitingForOpenContent: o,
                currentView: n,
                height: l,
                percentageCollapsed: p,
                bodyScrollTop: c,
                frameWindow: t,
                onExpand: this.handleHeaderExpand,
                onHeightChange: this.handleHeaderHeightChange,
                parallaxOpacity: h,
              }),
              a.a.createElement(Ic, {
                isBooting: r,
                wasBooting: d,
                isWaitingForOpenContent: o,
                isHeaderCollapsed: u,
                headerHeight: l,
                currentView: n,
                appWindow: e,
                frameWindow: t,
                onHeaderCollapse: this.handleHeaderCollapse,
                onScroll: this.handleBodyScroll,
              }),
              this.renderLink(n)
            ),
            a.a.createElement(ot, { frameWindow: t }),
            a.a.createElement(Dc.a, { appWindow: t }),
            s ? null : a.a.createElement(he.b, { tabIndex: '0' })
          );
        }
      }
      var Yc = Object(i.connect)((e) => {
        const { isBooting: t, isWaitingForOpenContent: n } = e.app,
          r = Object(j.p)(e),
          { upfrontEmailCollectorShowing: a } = e.app.upfrontEmailCollection,
          o = Object(y.a)(e),
          i = Object(j.l)(e);
        return {
          isLauncherEnabled: o,
          isBooting: t,
          isWaitingForOpenContent: n,
          currentView: Object(j.f)(e),
          isIntercomLinkEnabled: i,
          shouldShowUpfrontEmailComposer: r,
          upfrontEmailCollectorShowing: a,
          isSheetOpen: Object(ye.b)(e),
          isMessengerExpanded: Object(je.c)(e),
        };
      })(messenger_Messenger);
      function Kc(e) {
        const { isLauncherEnabled: t, launcherOffsetBottomPaddingPx: n, verticalPaddingPx: r } = e;
        return r + 20 + (t ? n : 0);
      }
      var Zc = { name: 'f3rzcg', styles: 'transition-delay:0ms;' };
      const Jc = Object(B.c)('div', { target: 'e52psle0' })(
        'z-index:',
        Object(ee.m)(),
        ';position:fixed;bottom:',
        Object(ee.j)(),
        'px;right:',
        Object(B.f)('horizontalPaddingPx'),
        'px;height:calc(100% - ',
        ({ theme: e }) => Kc(e),
        'px);width:',
        Object(B.f)('messengerWidthPx'),
        'px;min-height:250px;max-height:',
        Object(B.f)('messengerMaxHeightPx'),
        'px;box-shadow:0 5px 40px rgba(0,0,0,0.16);border-radius:',
        Object(B.f)('messengerBorderRadiusPx'),
        'px;overflow:hidden;transition:width,height,max-height;transition-duration:',
        200,
        'ms;',
        ({ isExpanded: e, theme: t }) =>
          e &&
          Object(B.b)(
            'max-height:calc(100% - ',
            Kc(t),
            'px);height:calc(100% - ',
            Kc(t),
            ');width:688px;transition-delay:',
            300,
            'ms;'
          ),
        ' ',
        ({ isExpanded: e, isArticleLoaded: t }) => e && t && Zc,
        ' opacity:1;> iframe{width:100%;height:100%;position:absolute;}',
        ({ theme: e }) =>
          e.isLeftAlign && Object(B.b)('left:', e.horizontalPaddingPx, 'px;right:auto;'),
        ' ',
        ({ theme: e }) =>
          e.isMobileSize &&
          Object(B.b)(
            'z-index:',
            Object(ee.m)(1, e),
            ';width:100%;height:100%;max-height:none;top:0;left:0;right:0;bottom:0;border-radius:0;position:fixed;'
          ),
        ' &.intercom-messenger-frame-enter{opacity:0;transform:translateY(20px);}&.intercom-messenger-frame-enter.intercom-messenger-frame-enter-active{opacity:1;transform:translateY(0);transition:opacity ',
        '150ms',
        ' ',
        'ease-in-out',
        ',transform ',
        '150ms',
        ' ',
        'ease-in-out',
        ';}&.intercom-messenger-frame-exit{opacity:1;}&.intercom-messenger-frame-exit.intercom-messenger-frame-exit-active{opacity:0;transform:translateY(20px);transition:opacity ',
        '150ms',
        ' ',
        'ease-in-out',
        ',transform ',
        '150ms',
        ' ',
        'ease-in-out',
        ';}'
      );
      function Qc(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_MessengerFrame extends r.Component {
        constructor(...e) {
          super(...e),
            Qc(this, 'scrollTop', void 0),
            Qc(this, 'state', { didMount: !1 }),
            Qc(this, 'handleTransitionEnd', (e) => {
              'width' === e.propertyName && this.props.onExpansionTransitionComplete();
            });
        }
        componentDidMount() {
          this.setState({ didMount: !0 });
        }
        render() {
          const { appWindow: e, isExpanded: t, isArticleLoaded: n } = this.props;
          return (
            (this.scrollTop = this.scrollTop || (window.parent && window.parent.pageYOffset) || 0),
            a.a.createElement(
              Jc,
              {
                isExpanded: !1 !== this.state.didMount && t,
                isArticleLoaded: n,
                className: 'intercom-messenger-frame',
                onTransitionEnd: this.handleTransitionEnd,
              },
              a.a.createElement(
                Q.a,
                {
                  frameName: 'intercom-messenger-frame',
                  title: `Intercom live chat ${Object(g.e)('messenger')}`,
                  ariaLiveAssertive: !1,
                },
                (t) =>
                  a.a.createElement(Yc, {
                    frameWindow: t,
                    appWindow: e,
                    scrollTop: this.scrollTop,
                    key: 'Messenger',
                  })
              )
            )
          );
        }
      }
      var ed = Object(i.connect)(
        (e) => ({ isExpanded: Object(je.c)(e), isArticleLoaded: e.article.isLoaded }),
        { onExpansionTransitionComplete: ci.f }
      )(messenger_MessengerFrame);
      function td(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      class messenger_MessengerCrossOriginFrame extends r.Component {
        constructor(...e) {
          super(...e),
            td(this, 'state', { isMobileSize: Object(At.b)() }),
            td(this, 'handleResize', () => {
              this.setState({ isMobileSize: Object(At.b)() });
            });
        }
        componentDidMount() {
          Object(mi.a)(this.handleResize);
        }
        componentWillUnmount() {
          Object(mi.f)(this.handleResize);
        }
        render() {
          const { isMobileSize: e } = this.state;
          return a.a.createElement(
            K.a,
            {
              name: 'messenger',
              styles:
                ((t = { isMobileSize: e }),
                `\n  z-index: 2147483003;\n  position: fixed;\n  bottom: 100px;\n  right: 10px;\n  width: 376px;\n  height: calc(100% - 120px);\n  min-height: 250px;\n  max-height: 704px;\n  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);\n  border-radius: 8px;\n  overflow: hidden;\n  border: none;\n\n  ${
                  t.isMobileSize
                    ? '\n    width: 100%;\n    height: 100%;\n    max-height: none;\n    top: 0;\n    left: 0;\n    right: 0;\n    bottom: 0;\n    border-radius: 0;\n    position: fixed;\n  '
                    : ''
                };\n`),
            },
            a.a.createElement(Yc, { frameWindow: window, appWindow: window, scrollTop: 0 })
          );
          var t;
        }
      }
      var nd = n(18);
      class page_title_notification_PageTitleNotification extends r.Component {
        getTitle() {
          return this.props.appWindow.document.title;
        }
        setTitle(e) {
          if (this.getTitle() !== e)
            if (Object(lr.e)(this.props.appWindow)) {
              const e = Object(lr.b)().userAgent;
              Object(T.g)('headlessChromeDetected', { user_agent: e });
            } else this.props.appWindow.document.title = e;
        }
        maybeToggleTitle() {
          const e = ((e) => {
            if (e.dismissed || !e.parts) return;
            const t = Object(nd.a)(e.parts);
            return t && t.author.isAdmin
              ? Object(g.e)('user_says', { firstName: t.author.firstName })
              : void 0;
          })(this.props.conversation);
          e && this.setTitle(this.getTitle() === e ? this.originalTitle : e);
        }
        componentDidMount() {
          (this.originalTitle = this.getTitle()),
            (this.interval = setInterval(() => this.maybeToggleTitle(), 3e3)),
            this.maybeToggleTitle();
        }
        componentWillUnmount() {
          clearInterval(this.interval), (this.interval = void 0), this.setTitle(this.originalTitle);
        }
        render() {
          return null;
        }
      }
      page_title_notification_PageTitleNotification.propTypes = {
        appWindow: h.a.object.isRequired,
        conversation: h.a.object.isRequired,
      };
      var rd = n(57),
        ad = { name: '1hyfx7x', styles: 'display:none;' },
        od = {
          name: 'o6b3el',
          styles:
            'background:radial-gradient( ellipse at bottom left,rgba(29,39,54,0.16) 0%,rgba(29,39,54,0) 72% );left:0;right:auto;',
        };
      const id = Object(B.c)('div', { target: 'e1cisntp0' })(
        'z-index:',
        Object(ee.m)(-2),
        ";position:fixed;width:500px;height:500px;bottom:0;right:0;content:'';pointer-events:none;background:radial-gradient( ellipse at bottom right,rgba(29,39,54,0.16) 0%,rgba(29,39,54,0) 72% );",
        ({ theme: e }) => e.isLeftAlign && od,
        ' ',
        ({ theme: e }) => e.isMobileSize && ad
      );
      var sd = () =>
        "\n    z-index: 2147482999;\n    position: fixed;\n    width: 500px;\n    height: 500px;\n    bottom: 0;\n    right: 0;\n    content: '';\n    border: none;\n    pointer-events: none;\n    background: radial-gradient(\n      ellipse at bottom right,\n      rgba(29, 39, 54, 0.16) 0%,\n      rgba(29, 39, 54, 0) 72%\n    );\n  ";
      class gradient_CrossOriginGradientFrame extends r.Component {
        render() {
          return a.a.createElement(K.a, { name: 'gradient', styles: sd() });
        }
      }
      var ld = n(230),
        cd = n(5);
      function dd(e, t, n) {
        return (
          t in e
            ? Object.defineProperty(e, t, {
                value: n,
                enumerable: !0,
                configurable: !0,
                writable: !0,
              })
            : (e[t] = n),
          e
        );
      }
      const pd = le({ loader: () => n.e(1).then(n.bind(null, 879)), name: 'Banner' }),
        ud = le({ loader: () => n.e(3).then(n.bind(null, 883)), name: 'ConfettiFrame' }),
        md = le({
          loader: () => Promise.all([n.e(51), n.e(45)]).then(n.bind(null, 885)),
          name: 'Message',
        }),
        hd = le({
          loader: () => Promise.all([n.e(51), n.e(45)]).then(n.bind(null, 886)),
          name: 'Notifications',
        }),
        bd = le({
          loader: () => Promise.all([n.e(51), n.e(45)]).then(n.bind(null, 887)),
          name: 'NotificationsCrossOrigin',
        }),
        gd = le({
          loader: () => Promise.all([n.e(51), n.e(45)]).then(n.bind(null, 888)),
          name: 'PointerMessage',
        }),
        fd = le({
          loader: () => Promise.all([n.e(51), n.e(45)]).then(n.bind(null, 876)),
          name: 'Tour',
        }),
        vd = le({
          loader: () => Promise.all([n.e(50), n.e(2)]).then(n.bind(null, 878)),
          name: 'BoundEventCreator',
        }),
        xd = le({
          loader: () => Promise.all([n.e(50), n.e(2)]).then(n.bind(null, 880)),
          name: 'BoundEventCreatorHeader',
        }),
        yd = le({ loader: () => n.e(5).then(n.bind(null, 881)), name: 'Install' }),
        jd = le({
          loader: () => Promise.all([n.e(50), n.e(2)]).then(n.bind(null, 884)),
          name: 'BoundEvents',
        }),
        Od = le({ loader: () => n.e(47).then(n.bind(null, 877)), name: 'Survey' });
      class app_App extends r.Component {
        constructor(...e) {
          super(...e),
            dd(this, 'state', { isIntersectionBooted: Object(ld.a)() }),
            dd(this, 'handleTab', (e) => {
              Object(Je.t)(e) && this.props.onTabPressed();
            });
        }
        componentDidMount() {
          const {
            locale: e,
            isOverrideSamplingEnabled: t,
            isErrorReportingDisabled: n,
            appId: r,
          } = this.props;
          void 0 !== e && Object(g.d)(e),
            Object(et.e)(t),
            Object(et.d)(n),
            Object(rd.e)(r),
            Object(cd.a)() || Object(Je.c)(window.parent, 'keydown', this.handleTab);
        }
        componentDidUpdate(e) {
          const {
            locale: t,
            isOverrideSamplingEnabled: n,
            isErrorReportingDisabled: r,
            appId: a,
          } = this.props;
          e.locale !== t && Object(g.d)(t), Object(et.e)(n), Object(et.d)(r), Object(rd.e)(a);
        }
        componentWillUnmount() {
          Object(Je.y)(window.parent, 'keydown', this.handleTab);
        }
        shouldShowPageTitleNotification() {
          const {
            userIsPresent: e,
            isLauncherEnabled: t,
            isMessengerOpen: n,
            lastUnreadConversation: r,
          } = this.props;
          return !(!t && !n) && r && r.userParticipated && !e;
        }
        renderBoundEventCreator() {
          const { appWindow: e } = this.props;
          return a.a.createElement(
            'div',
            { className: 'intercom-event-creator' },
            a.a.createElement(vd, { appWindow: e, key: 'BoundEventCreator' }),
            a.a.createElement(xd, { appWindow: e, key: 'BoundEventCreatorHeader' }),
            a.a.createElement(Dc.a, { appWindow: e })
          );
        }
        renderApp() {
          const {
              appWindow: e,
              unreadConversationCount: t,
              isLauncherEnabled: n,
              isMessengerOpen: o,
              isMessageOpen: i,
              isInstallOpen: s,
              isBoundEventsOpen: l,
              lastUnreadConversation: c,
              notificationCount: d,
              customizationAttributes: p,
              isBooted: u,
              isLauncherDiscoveryModeOpening: m,
              destroySession: h,
              hasPointerMessages: g,
              hasBanner: f,
              isTourFetched: v,
              isPreviewingTour: x,
              isLightweightAppActive: y,
              hasSurvey: j,
            } = this.props,
            { isIntersectionBooted: O } = this.state,
            C = !i && !o && !v && !O && d > 0;
          return a.a.createElement(
            'div',
            { 'className': 'intercom-app', 'aria-live': 'polite' },
            a.a.createElement(
              b.TransitionGroup,
              { component: r.Fragment },
              o
                ? a.a.createElement(
                    b.CSSTransition,
                    { classNames: 'intercom-messenger-frame', timeout: { enter: 250, exit: 250 } },
                    Object(cd.a)()
                      ? a.a.createElement(messenger_MessengerCrossOriginFrame, { appWindow: e })
                      : a.a.createElement(ed, { appWindow: e })
                  )
                : null
            ),
            !i || v || o ? null : a.a.createElement(md, { appWindow: e, key: 'Message' }),
            !g || o || v || O
              ? null
              : a.a.createElement(gd, { appWindow: e, key: 'PointerMessage' }),
            u && s ? a.a.createElement(yd, { key: 'Install' }) : null,
            C && (Object(cd.a)() ? a.a.createElement(bd, null) : a.a.createElement(hd, null)),
            n && Object(cd.a)()
              ? a.a.createElement(J, { shouldRenderShadow: !m, isMessengerOpen: o })
              : null,
            n && !Object(cd.a)()
              ? a.a.createElement(launcher_LauncherFrame, {
                  shouldRenderShadow: !m,
                  isMessengerOpen: o,
                })
              : null,
            n && !lr.a.isMobileBrowser()
              ? a.a.createElement(ue, { isLeftAligned: 'left' === p.alignment })
              : null,
            n && !o && t > 0
              ? Object(cd.a)()
                ? a.a.createElement(cross_origin_frames_launcher_badge_LauncherBadgeFrame, null)
                : a.a.createElement(launcher_badge_LauncherBadgeFrame, null)
              : null,
            l ? a.a.createElement(jd, { appWindow: e, key: 'BoundEvents' }) : null,
            !v || (O && !x) ? null : a.a.createElement(fd, { appWindow: e, key: 'Tour' }),
            v ? a.a.createElement(ud, { appWindow: e }) : null,
            a.a.createElement(
              ea.a,
              { duration: y ? 0 : 200 },
              o || i || C
                ? Object(cd.a)()
                  ? a.a.createElement(gradient_CrossOriginGradientFrame, null)
                  : a.a.createElement(id, null)
                : null
            ),
            a.a.createElement(Dc.a, { appWindow: e, destroySession: h }),
            this.shouldShowPageTitleNotification()
              ? a.a.createElement(page_title_notification_PageTitleNotification, {
                  appWindow: e,
                  conversation: c,
                })
              : null,
            f ? a.a.createElement(pd, { appWindow: e }) : null,
            j ? a.a.createElement(Od, { appWindow: e }) : null,
            a.a.createElement('div', { id: 'intercom-modal-container' })
          );
        }
        render() {
          const {
            isBooted: e,
            isBooting: t,
            isBoundEventCreatorOpen: n,
            isInstantBootEnabled: r,
          } = this.props;
          return !(e || (t && r)) ? null : n ? this.renderBoundEventCreator() : this.renderApp();
        }
      }
      (app_App.propTypes = {
        appWindow: h.a.object.isRequired,
        locale: h.a.string,
        backgroundImage: h.a.string,
        unreadConversationCount: h.a.number,
        lastUnreadConversation: h.a.object,
        notificationCount: h.a.number,
        userIsPresent: h.a.bool.isRequired,
        isBooting: h.a.bool.isRequired,
        isBooted: h.a.bool.isRequired,
        isErrorReportingDisabled: h.a.bool,
        isOverrideSamplingEnabled: h.a.bool,
        isLauncherEnabled: h.a.bool.isRequired,
        isMessengerOpen: h.a.bool.isRequired,
        isMessageOpen: h.a.bool.isRequired,
        hasPointerMessages: h.a.bool.isRequired,
        hasBanner: h.a.bool,
        isTourFetched: h.a.bool.isRequired,
        isPreviewingTour: h.a.bool.isRequired,
        isInstallOpen: h.a.bool.isRequired,
        isBoundEventsOpen: h.a.bool.isRequired,
        isBoundEventCreatorOpen: h.a.bool.isRequired,
        customizationAttributes: h.a.shape({
          alignment: h.a.string,
          horizontalPadding: h.a.number,
          verticalPadding: h.a.number,
        }),
        isInstantBootEnabled: h.a.bool.isRequired,
        isLauncherDiscoveryModeOpening: h.a.bool,
        destroySession: h.a.func.isRequired,
        onTabPressed: h.a.func.isRequired,
        appId: h.a.string,
        isLightweightAppActive: h.a.bool,
        hasSurvey: h.a.bool,
      }),
        (app_App.defaultProps = { isOverrideSamplingEnabled: !1, isLightweightAppActive: !1 });
      var Cd = app_App,
        wd = n(74),
        Ed = Object(f.createSelector)(
          (e) => Object(wd.a)(e.conversations.byId),
          (e) => {
            const t = e
              .filter((e) => !e.read)
              .sort((e, t) => e.lastPartCreatedAt - t.lastPartCreatedAt);
            return Object(nd.a)(t);
          }
        ),
        kd = n(43),
        Sd = n(68),
        _d = n(75),
        Pd = n(169),
        Td = n(16),
        Bd = n(674),
        Nd = n(167);
      var Ad = Object(i.connect)(
        (e) => {
          const { locale: t, isPresent: n } = e.user,
            {
              isBooting: r,
              isBooted: a,
              isMessengerOpen: o,
              isErrorReportingDisabled: i,
              isOverrideSamplingEnabled: s,
              boundWebEvents: l,
              isBoundEventCreatorOpen: c,
              isInstantBootEnabled: p,
            } = e.app,
            { isLauncherDiscoveryModeEnabled: u, isLauncherDiscoveryModeOpening: m } =
              e.launcherDiscoveryMode,
            { isInstallModeOpen: h } = e.install,
            { alignment: b, horizontalPadding: g, verticalPadding: f } = Object(d.a)(e),
            { isActive: v } = e.lightweightApp,
            x = Object(y.a)(e),
            j = Object(be.b)(e),
            O = Object(kd.a)(e).length,
            C = Object(Sd.a)(e).length,
            w = Object(Pd.a)(e).length,
            E = Ed(e),
            k = C > 0,
            S = w > 0,
            _ = Object(Bd.a)(e).length > 0;
          return {
            userIsPresent: n,
            locale: t,
            unreadConversationCount: j,
            notificationCount: O,
            lastUnreadConversation: E,
            isBooting: r,
            isBooted: a,
            isMessageOpen: k,
            isMessengerOpen: o,
            isLauncherEnabled: x,
            isLauncherDiscoveryModeEnabled: u,
            isLauncherDiscoveryModeOpening: m,
            isErrorReportingDisabled: i,
            isOverrideSamplingEnabled: s,
            isInstallOpen: h,
            customizationAttributes: { alignment: b, horizontalPadding: g, verticalPadding: f },
            isBoundEventsOpen: l.length > 0,
            boundWebEvents: l,
            isBoundEventCreatorOpen: c,
            isInstantBootEnabled: p,
            hasPointerMessages: S,
            hasBanner: _,
            isTourFetched: Object(Td.k)(e),
            isPreviewingTour: Object(Td.i)(e),
            appId: e.session && e.session.appId,
            isLightweightAppActive: v,
            hasSurvey: !!Object(Nd.a)(e),
          };
        },
        (e) => ({
          onTabPressed: () =>
            e((t, n) => {
              const { tabNavigation: r } = n().accessibility;
              r || e(Object(_d.b)(!0));
            }),
        })
      )(Cd);
      n.d(t, 'appNodeId', function () {
        return Md;
      }),
        n.d(t, 'appNodeClassName', function () {
          return Id;
        }),
        n.d(t, 'styleNodeId', function () {
          return zd;
        });
      const Md = 'intercom-container',
        Id = 'intercom-namespace',
        zd = 'intercom-css-container';
      Object(cd.a)()
        ? s.Globals.assign({ requestAnimationFrame: mi.g })
        : s.Globals.assign({
            requestAnimationFrame: window.parent.requestAnimationFrame,
            cancelAnimationFrame: window.parent.cancelAnimationFrame,
          });
      const Ld = (e, t, n) => {
          const { document: r } = e,
            a = r.createElement('div');
          return (a.id = t), n && a.classList.add(n), r.body.appendChild(a), a;
        },
        Rd = (e) => {
          e.parentNode.removeChild(e);
        };
      t.default = (e, t) => {
        const n = Ld(e, Md, Id),
          r = Ld(e, zd);
        return (
          Object(o.render)(
            a.a.createElement(
              u,
              { window: e },
              a.a.createElement(
                i.Provider,
                { store: t },
                a.a.createElement(
                  p,
                  null,
                  a.a.createElement(
                    l.a,
                    { target: r, isSandbox: !1 },
                    a.a.createElement(Ad, { appWindow: e, destroySession: () => {} })
                  )
                )
              )
            ),
            n
          ),
          () => {
            Object(o.unmountComponentAtNode)(n), Rd(n), Rd(r);
          }
        );
      };
    },
  ]),
]);
